Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001422/0.001422, allocations: 108.9 kB / 16.46 MB, free: 6.508 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.001462/0.001462, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 9.094 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.182/3.182, allocations: 0.49 GB / 0.7916 GB, free: 33.27 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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [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.002104/0.002104, allocations: 64.59 kB / 1.149 GB, free: 26.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3363, allocations: 176.1 MB / 1.321 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007697/0.344, allocations: 5.185 MB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1877/0.5317, allocations: 154 MB / 1.477 GB, free: 3.035 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007947/0.5325, allocations: 23.81 kB / 1.477 GB, free: 3.012 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006147/0.5331, allocations: 202.1 kB / 1.477 GB, free: 2.812 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.535, allocations: 0.5862 MB / 1.477 GB, free: 2.227 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.5371, allocations: 0.8595 MB / 1.478 GB, free: 1.375 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001789/0.5388, allocations: 1.447 MB / 1.48 GB, free: 15.92 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000811/0.5397, allocations: 437.6 kB / 1.48 GB, free: 15.47 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008145/0.5405, allocations: 0.5178 MB / 1.481 GB, free: 14.95 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007022/0.5412, allocations: 0.5251 MB / 1.481 GB, free: 14.42 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.5414, allocations: 120 kB / 1.481 GB, free: 14.3 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.5425, allocations: 0.5074 MB / 1.482 GB, free: 13.8 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000323/0.5428, allocations: 310.9 kB / 1.482 GB, free: 13.49 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006054/0.5434, allocations: 0.583 MB / 1.483 GB, free: 12.91 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002442/0.5458, allocations: 1.716 MB / 1.484 GB, free: 11.18 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.5458, allocations: 0 / 1.484 GB, free: 11.18 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.572e-06/0.5458, allocations: 0 / 1.484 GB, free: 11.18 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.04e-05/0.5459, allocations: 0 / 1.484 GB, free: 11.18 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003013/0.5489, allocations: 1.518 MB / 1.486 GB, free: 9.617 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.5489, allocations: 15.92 kB / 1.486 GB, free: 9.602 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.5506, allocations: 243.9 kB / 1.486 GB, free: 9.363 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.5521, allocations: 0.7903 MB / 1.487 GB, free: 8.531 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.255e-05/0.5522, allocations: 70 kB / 1.487 GB, free: 8.461 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.5523, allocations: 84 kB / 1.487 GB, free: 8.379 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.5541, allocations: 0.9378 MB / 1.488 GB, free: 7.402 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.5541, allocations: 4 kB / 1.488 GB, free: 7.398 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/0.5542, allocations: 36 kB / 1.488 GB, free: 7.363 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.5542, allocations: 20 kB / 1.488 GB, free: 7.344 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.5563, allocations: 1.12 MB / 1.489 GB, free: 6.219 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.004963/0.5613, allocations: 2.824 MB / 1.492 GB, free: 3.258 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.563, allocations: 0.7613 MB / 1.493 GB, free: 2.488 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005866/0.5636, allocations: 286.7 kB / 1.493 GB, free: 2.203 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.03e-05/0.5637, allocations: 40.53 kB / 1.493 GB, free: 2.164 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009623/0.5646, allocations: 495.2 kB / 1.493 GB, free: 1.66 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.925e-06/0.5646, allocations: 0 / 1.493 GB, free: 1.66 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003617/0.5683, allocations: 1.212 MB / 1.495 GB, free: 436 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.5684, allocations: 200.5 kB / 1.495 GB, free: 192 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.5694, allocations: 0.6685 MB / 1.495 GB, free: 15.51 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.023e-05/0.5695, allocations: 41.7 kB / 1.495 GB, free: 15.46 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/0.5699, allocations: 413.1 kB / 1.496 GB, free: 15.05 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.5702, allocations: 289.5 kB / 1.496 GB, free: 14.77 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002959/0.5705, allocations: 162.6 kB / 1.496 GB, free: 14.6 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002233/0.5707, allocations: 386.8 kB / 1.497 GB, free: 14.21 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006053/0.5713, allocations: 281.8 kB / 1.497 GB, free: 13.94 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007099/0.572, allocations: 367 kB / 1.497 GB, free: 13.57 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.5732, allocations: 0.6151 MB / 1.498 GB, free: 12.94 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5732, allocations: 0 / 1.498 GB, free: 12.94 MB / 1.201 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002252/0.5755, allocations: 0.8686 MB / 1.499 GB, free: 12.07 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.5755, allocations: 7.938 kB / 1.499 GB, free: 12.06 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5755, allocations: 4 kB / 1.499 GB, free: 12.05 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006471/0.5762, allocations: 84.86 kB / 1.499 GB, free: 11.97 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.5769, allocations: 171.7 kB / 1.499 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.5793, allocations: 1.63 MB / 1.501 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008133/0.5801, allocations: 95.44 kB / 1.501 GB, free: 9.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.5802, allocations: 40.05 kB / 1.501 GB, free: 9.891 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (97): * Single equations (assignments): 96 * 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.0004896/0.5807, allocations: 269.2 kB / 1.501 GB, free: 9.617 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.5808, allocations: 87.44 kB / 1.501 GB, free: 9.531 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.5834, allocations: 1.074 MB / 1.502 GB, free: 8.445 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.5834, allocations: 11.98 kB / 1.502 GB, free: 8.434 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5835, allocations: 4 kB / 1.502 GB, free: 8.43 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.5835, allocations: 3.984 kB / 1.502 GB, free: 8.426 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.5847, allocations: 0.9154 MB / 1.503 GB, free: 7.461 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5847, allocations: 0 / 1.503 GB, free: 7.461 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006763/0.5854, allocations: 155.7 kB / 1.503 GB, free: 7.309 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000517/0.5859, allocations: 72.72 kB / 1.503 GB, free: 7.234 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.103e-05/0.586, allocations: 27.98 kB / 1.503 GB, free: 7.207 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.5882, allocations: 1.654 MB / 1.505 GB, free: 5.406 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5882, allocations: 4.031 kB / 1.505 GB, free: 5.402 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/0.5912, allocations: 1.34 MB / 1.506 GB, free: 4.039 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.5916, allocations: 280.3 kB / 1.506 GB, free: 3.746 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.5918, allocations: 23.92 kB / 1.506 GB, free: 3.723 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/0.5924, allocations: 65.88 kB / 1.506 GB, free: 3.66 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.5926, allocations: 72.89 kB / 1.507 GB, free: 3.59 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-05/0.5927, allocations: 35.98 kB / 1.507 GB, free: 3.555 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007038/0.5934, allocations: 487 kB / 1.507 GB, free: 3.082 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5934, allocations: 4 kB / 1.507 GB, free: 3.078 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009871/0.5944, allocations: 335.2 kB / 1.507 GB, free: 2.75 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (93): * Single equations (assignments): 87 * 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.002046/0.5964, allocations: 0.6145 MB / 1.508 GB, free: 2.309 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002027/0.5985, allocations: 0.8079 MB / 1.509 GB, free: 1.484 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5985, allocations: 0 / 1.509 GB, free: 1.484 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.5995, allocations: 496.2 kB / 1.509 GB, free: 0.9883 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.6009, allocations: 305.6 kB / 1.51 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.6046, allocations: 1.818 MB / 1.511 GB, free: 14.87 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008075/0.6054, allocations: 1.037 MB / 1.512 GB, free: 13.8 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009552/0.6063, allocations: 282.7 kB / 1.513 GB, free: 13.52 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.6067, allocations: 111.4 kB / 1.513 GB, free: 13.41 MB / 1.217 GB Notification: Performance of SimCode: time 1.503e-06/0.6067, allocations: 0 / 1.513 GB, free: 13.41 MB / 1.217 GB Notification: Performance of Templates: time 0.03027/0.6369, allocations: 15.68 MB / 1.528 GB, free: 13.9 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.575171066448092]