Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002372/0.002372, allocations: 210.5 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.493/3.493, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 70.31 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4356, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.008721/0.4444, allocations: 3.192 MB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003971/0.4483, allocations: 1.399 MB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003007/0.4486, allocations: 4 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.4501, allocations: 338.6 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006688/0.4508, allocations: 151.2 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006805/0.4514, allocations: 159.5 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008784/0.4523, allocations: 338.9 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005867/0.4529, allocations: 196 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.4533, allocations: 155.5 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/0.4539, allocations: 151.5 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.863e-05/0.4539, allocations: 20 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.4544, allocations: 159.6 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.4545, allocations: 83.73 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.4548, allocations: 103.5 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008055/0.4556, allocations: 370.6 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4556, allocations: 0 / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.165e-06/0.4556, allocations: 0 / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.4556, allocations: 3.938 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001433/0.4571, allocations: 485.3 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.4571, allocations: 8.031 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.4582, allocations: 100.7 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.4588, allocations: 200.4 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.4588, allocations: 20.8 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.4589, allocations: 20.38 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008428/0.4597, allocations: 385.8 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.4597, allocations: 3.938 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.4598, allocations: 8 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-05/0.4598, allocations: 20.42 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.4604, allocations: 209.6 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.4626, allocations: 1.026 MB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.4631, allocations: 122.6 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.4633, allocations: 40.78 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.4633, allocations: 8 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.4633, allocations: 30.56 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.4633, allocations: 0 / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0008239/0.4642, allocations: 186.7 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.4642, allocations: 59.34 kB / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.4645, allocations: 199.1 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.4645, allocations: 29.69 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.4647, allocations: 188 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.4647, allocations: 23.81 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.4648, allocations: 37.7 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.465, allocations: 326.8 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.4652, allocations: 51.91 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.4654, allocations: 110.2 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.4658, allocations: 168.4 kB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4658, allocations: 3.938 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005555/0.4663, allocations: 210.3 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.4664, allocations: 10.03 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4664, allocations: 0 / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.4666, allocations: 32.83 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.4668, allocations: 27.98 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.4685, allocations: 1.311 MB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.4687, allocations: 19.84 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.4687, allocations: 8 kB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002094/0.4689, allocations: 145.8 kB / 1.339 GB, free: 4.031 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.469, allocations: 19.84 kB / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.469, allocations: 21.39 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.469, allocations: 4 kB / 1.339 GB, free: 3.984 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.469, allocations: 64 / 1.339 GB, free: 3.984 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.469, allocations: 4.094 kB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009639/0.47, allocations: 410.8 kB / 1.34 GB, free: 3.539 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.47, allocations: 0 / 1.34 GB, free: 3.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.018e-05/0.4701, allocations: 15.98 kB / 1.34 GB, free: 3.523 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.4702, allocations: 24.84 kB / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4702, allocations: 0 / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.4716, allocations: 1.299 MB / 1.341 GB, free: 2.094 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4716, allocations: 4.031 kB / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.472, allocations: 236.2 kB / 1.341 GB, free: 1.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/0.4721, allocations: 23.84 kB / 1.341 GB, free: 1.816 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.4721, allocations: 3.984 kB / 1.341 GB, free: 1.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.4723, allocations: 4 kB / 1.341 GB, free: 1.809 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.4724, allocations: 11.98 kB / 1.341 GB, free: 1.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4724, allocations: 96 / 1.341 GB, free: 1.797 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002795/0.4727, allocations: 152.2 kB / 1.341 GB, free: 1.648 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4727, allocations: 0 / 1.341 GB, free: 1.648 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005687/0.4732, allocations: 55.89 kB / 1.342 GB, free: 1.594 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001545/0.4734, allocations: 102 kB / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006604/0.474, allocations: 222.9 kB / 1.342 GB, free: 1.254 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4741, allocations: 8.125 kB / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.4743, allocations: 162.5 kB / 1.342 GB, free: 1.074 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.4749, allocations: 41.45 kB / 1.342 GB, free: 1.039 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.476, allocations: 404.5 kB / 1.342 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.4762, allocations: 148.1 kB / 1.343 GB, free: 464 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001412/0.4764, allocations: 29.47 kB / 1.343 GB, free: 436 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.4764, allocations: 11.44 kB / 1.343 GB, free: 424 kB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4764, allocations: 0 / 1.343 GB, free: 424 kB / 1.029 GB Notification: Performance of Templates: time 0.007924/0.4843, allocations: 2.15 MB / 1.345 GB, free: 14.3 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.908417044003727]