Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001334/0.001334, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001395/0.001395, allocations: 209.3 kB / 22.99 MB, free: 4.957 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.135/3.135, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [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.00201/0.00201, allocations: 69.94 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2842, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1852/0.4694, allocations: 146.3 MB / 1.47 GB, free: 14.07 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.4826, allocations: 7.526 MB / 1.477 GB, free: 6.52 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.4836, allocations: 39.69 kB / 1.477 GB, free: 6.48 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.4847, allocations: 401 kB / 1.478 GB, free: 6.086 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003434/0.4882, allocations: 1.382 MB / 1.479 GB, free: 4.703 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.4909, allocations: 1.198 MB / 1.48 GB, free: 3.512 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002745/0.4936, allocations: 2.41 MB / 1.483 GB, free: 1.094 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.495, allocations: 0.9877 MB / 1.484 GB, free: 84 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.4962, allocations: 0.8915 MB / 1.484 GB, free: 15.18 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.4976, allocations: 0.8285 MB / 1.485 GB, free: 14.36 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002381/0.4979, allocations: 152 kB / 1.485 GB, free: 14.21 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.4998, allocations: 1.045 MB / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004477/0.5002, allocations: 438.6 kB / 1.487 GB, free: 12.73 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006815/0.5009, allocations: 0.6415 MB / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.5041, allocations: 2.448 MB / 1.49 GB, free: 9.633 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.5041, allocations: 3.938 kB / 1.49 GB, free: 9.629 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5041, allocations: 4 kB / 1.49 GB, free: 9.625 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.509e-05/0.5041, allocations: 0 / 1.49 GB, free: 9.625 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003629/0.5078, allocations: 1.871 MB / 1.492 GB, free: 7.711 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.5078, allocations: 12.03 kB / 1.492 GB, free: 7.699 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/0.5104, allocations: 374.5 kB / 1.492 GB, free: 7.332 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/0.5123, allocations: 0.959 MB / 1.493 GB, free: 6.336 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.111e-05/0.5124, allocations: 82.2 kB / 1.493 GB, free: 6.254 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.5126, allocations: 112 kB / 1.493 GB, free: 6.145 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.515, allocations: 1.531 MB / 1.495 GB, free: 4.457 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.5151, allocations: 0 / 1.495 GB, free: 4.457 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.5152, allocations: 51.98 kB / 1.495 GB, free: 4.406 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/0.5153, allocations: 42.06 kB / 1.495 GB, free: 4.363 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.5176, allocations: 1.257 MB / 1.496 GB, free: 3.098 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005354/0.5229, allocations: 2.761 MB / 1.499 GB, free: 280 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.5248, allocations: 0.9332 MB / 1.5 GB, free: 15.33 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006895/0.5255, allocations: 363.7 kB / 1.5 GB, free: 14.97 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.988e-05/0.5256, allocations: 28.97 kB / 1.5 GB, free: 14.95 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/0.5268, allocations: 0.7912 MB / 1.501 GB, free: 14.09 MB / 1.201 GB Notification: Performance of pre-optimization done (n=102): time 4.689e-06/0.5268, allocations: 7.984 kB / 1.501 GB, free: 14.08 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.003988/0.5308, allocations: 1.364 MB / 1.502 GB, free: 12.71 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.531, allocations: 192.9 kB / 1.502 GB, free: 12.47 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.5321, allocations: 0.8062 MB / 1.503 GB, free: 11.65 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.69e-05/0.5322, allocations: 45.7 kB / 1.503 GB, free: 11.6 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000491/0.5327, allocations: 0.5402 MB / 1.504 GB, free: 11.05 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.533, allocations: 365 kB / 1.504 GB, free: 10.7 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/0.5333, allocations: 198.5 kB / 1.504 GB, free: 10.5 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.5335, allocations: 353.9 kB / 1.505 GB, free: 10.14 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007048/0.5342, allocations: 333.8 kB / 1.505 GB, free: 9.82 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009286/0.5351, allocations: 0.5945 MB / 1.505 GB, free: 9.16 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.5367, allocations: 0.801 MB / 1.506 GB, free: 8.332 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.5367, allocations: 4 kB / 1.506 GB, free: 8.328 MB / 1.201 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002577/0.5392, allocations: 1.072 MB / 1.507 GB, free: 7.246 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.5393, allocations: 8 kB / 1.507 GB, free: 7.238 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.5393, allocations: 0 / 1.507 GB, free: 7.238 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007363/0.54, allocations: 88.98 kB / 1.507 GB, free: 7.148 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009634/0.541, allocations: 215.7 kB / 1.508 GB, free: 6.938 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.5433, allocations: 1.504 MB / 1.509 GB, free: 5.328 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.5443, allocations: 107.4 kB / 1.509 GB, free: 5.223 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.631e-05/0.5444, allocations: 43.97 kB / 1.509 GB, free: 5.18 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005417/0.545, allocations: 324.1 kB / 1.509 GB, free: 4.852 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.5452, allocations: 119.3 kB / 1.51 GB, free: 4.734 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00293/0.5481, allocations: 1.24 MB / 1.511 GB, free: 3.48 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.5481, allocations: 12 kB / 1.511 GB, free: 3.469 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.5482, allocations: 4 kB / 1.511 GB, free: 3.465 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/0.5482, allocations: 7.969 kB / 1.511 GB, free: 3.457 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.5495, allocations: 0.8292 MB / 1.512 GB, free: 2.598 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.5495, allocations: 3.984 kB / 1.512 GB, free: 2.594 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/0.5504, allocations: 203.7 kB / 1.512 GB, free: 2.395 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005043/0.5509, allocations: 80.78 kB / 1.512 GB, free: 2.312 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.245e-05/0.551, allocations: 27.92 kB / 1.512 GB, free: 2.285 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.5531, allocations: 1.525 MB / 1.513 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5531, allocations: 0 / 1.513 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/0.5564, allocations: 1.578 MB / 1.515 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005642/0.557, allocations: 250.9 kB / 1.515 GB, free: 14.81 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.5571, allocations: 24 kB / 1.515 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009003/0.558, allocations: 75.86 kB / 1.515 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.5582, allocations: 80.84 kB / 1.515 GB, free: 14.63 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.61e-05/0.5583, allocations: 47.91 kB / 1.515 GB, free: 14.59 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007764/0.5591, allocations: 0.5576 MB / 1.516 GB, free: 14.03 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5591, allocations: 0 / 1.516 GB, free: 14.03 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001101/0.5602, allocations: 446.9 kB / 1.516 GB, free: 13.59 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002243/0.5624, allocations: 0.6649 MB / 1.517 GB, free: 13.13 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.5645, allocations: 0.9604 MB / 1.518 GB, free: 12.16 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5645, allocations: 4 kB / 1.518 GB, free: 12.16 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.5656, allocations: 0.5665 MB / 1.519 GB, free: 11.58 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.5675, allocations: 483.5 kB / 1.519 GB, free: 11.13 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.5719, allocations: 2.496 MB / 1.521 GB, free: 8.602 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.5725, allocations: 0.5752 MB / 1.522 GB, free: 7.996 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009974/0.5735, allocations: 328.7 kB / 1.522 GB, free: 7.672 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.5739, allocations: 127.4 kB / 1.522 GB, free: 7.547 MB / 1.217 GB Notification: Performance of SimCode: time 6.62e-07/0.5739, allocations: 0 / 1.522 GB, free: 7.547 MB / 1.217 GB Notification: Performance of Templates: time 0.03927/0.6131, allocations: 23.27 MB / 1.545 GB, free: 0.6953 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.635415747994557]