Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001248/0.001248, allocations: 77.97 kB / 20.68 MB, free: 3.809 MB / 18.57 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.001412/0.001412, allocations: 181 kB / 24.09 MB, free: 412 kB / 18.57 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 0.9324/0.9324, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.747/1.747, allocations: 359 MB / 0.6055 GB, free: 10.85 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.411e-05, allocations: 4.844 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004814/0.004828, allocations: 4.726 MB / 0.7921 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1313/0.1361, allocations: 143.8 MB / 0.9326 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008848/0.137, allocations: 23.81 kB / 0.9326 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000642/0.1376, allocations: 202.1 kB / 0.9328 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.1393, allocations: 0.5823 MB / 0.9334 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.1409, allocations: 0.8646 MB / 0.9342 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.1422, allocations: 1.455 MB / 0.9356 GB, free: 4.043 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005691/0.1428, allocations: 394 kB / 0.936 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008282/0.1436, allocations: 0.7717 MB / 0.9368 GB, free: 2.863 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.144, allocations: 378.8 kB / 0.9371 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.1441, allocations: 112 kB / 0.9372 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008575/0.145, allocations: 491.3 kB / 0.9377 GB, free: 1.902 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.1452, allocations: 299 kB / 0.938 GB, free: 1.609 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.1454, allocations: 371 kB / 0.9383 GB, free: 1.246 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.1467, allocations: 1.234 MB / 0.9395 GB, free: 8 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1467, allocations: 0 / 0.9395 GB, free: 8 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1467, allocations: 0 / 0.9395 GB, free: 8 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.1467, allocations: 0 / 0.9395 GB, free: 8 kB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001648/0.1484, allocations: 1.531 MB / 0.941 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1484, allocations: 12.03 kB / 0.9411 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007745/0.1492, allocations: 323.6 kB / 0.9414 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007244/0.1499, allocations: 0.715 MB / 0.9421 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.15, allocations: 70.12 kB / 0.9421 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.1501, allocations: 88 kB / 0.9422 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000779/0.1508, allocations: 0.8887 MB / 0.9431 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.1508, allocations: 0 / 0.9431 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.543e-05/0.1509, allocations: 32 kB / 0.9431 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.1509, allocations: 24 kB / 0.9431 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/0.1515, allocations: 0.6689 MB / 0.9438 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.1538, allocations: 2.312 MB / 0.946 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.1543, allocations: 453.2 kB / 0.9465 GB, free: 8.668 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.1545, allocations: 147.4 kB / 0.9466 GB, free: 8.523 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.453e-05/0.1546, allocations: 56.41 kB / 0.9467 GB, free: 8.465 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000392/0.155, allocations: 468.1 kB / 0.9471 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=86): time 2.154e-06/0.155, allocations: 0 / 0.9471 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86): time 0.001249/0.1562, allocations: 0.765 MB / 0.9479 GB, free: 7.191 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/0.1563, allocations: 196.9 kB / 0.9481 GB, free: 6.957 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.1567, allocations: 0.5773 MB / 0.9486 GB, free: 6.363 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.1567, allocations: 49.7 kB / 0.9487 GB, free: 6.309 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.157, allocations: 451.9 kB / 0.9491 GB, free: 5.859 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.1571, allocations: 293.5 kB / 0.9494 GB, free: 5.57 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.1573, allocations: 196.1 kB / 0.9496 GB, free: 5.371 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1575, allocations: 0.5663 MB / 0.9501 GB, free: 4.793 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.1576, allocations: 105.9 kB / 0.9502 GB, free: 4.688 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.1579, allocations: 357.4 kB / 0.9506 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.1582, allocations: 354.7 kB / 0.9509 GB, free: 3.918 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.1582, allocations: 0 / 0.9509 GB, free: 3.918 MB / 0.9011 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00082/0.1591, allocations: 0.6253 MB / 0.9515 GB, free: 3.281 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1591, allocations: 4 kB / 0.9515 GB, free: 3.277 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1591, allocations: 4.062 kB / 0.9515 GB, free: 3.273 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004172/0.1595, allocations: 131.6 kB / 0.9516 GB, free: 3.141 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.1599, allocations: 175.8 kB / 0.9518 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.1612, allocations: 1.871 MB / 0.9536 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.1615, allocations: 90.73 kB / 0.9537 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.1616, allocations: 31.97 kB / 0.9537 GB, free: 0.8633 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (106): * Single equations (assignments): 105 * 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.0002849/0.1619, allocations: 211.1 kB / 0.954 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.162, allocations: 115.4 kB / 0.9541 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.163, allocations: 0.7796 MB / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.163, allocations: 12 kB / 0.9548 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.163, allocations: 3.984 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.163, allocations: 3.984 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.1647, allocations: 1.452 MB / 0.9563 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1647, allocations: 0 / 0.9563 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.1649, allocations: 143.8 kB / 0.9564 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003207/0.1652, allocations: 115.6 kB / 0.9565 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.1653, allocations: 27.97 kB / 0.9565 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.1663, allocations: 1.883 MB / 0.9584 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1664, allocations: 0 / 0.9584 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008497/0.1672, allocations: 0.8219 MB / 0.9592 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.1674, allocations: 191 kB / 0.9594 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.577e-05/0.1675, allocations: 20 kB / 0.9594 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.1677, allocations: 39.97 kB / 0.9594 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.088e-05/0.1678, allocations: 72.94 kB / 0.9595 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.1678, allocations: 35.95 kB / 0.9595 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002352/0.1681, allocations: 366.9 kB / 0.9599 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1681, allocations: 0 / 0.9599 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007193/0.1688, allocations: 331.1 kB / 0.9602 GB, free: 10.05 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001194/0.17, allocations: 0.6341 MB / 0.9608 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007788/0.1708, allocations: 0.6093 MB / 0.9614 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1708, allocations: 0 / 0.9614 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003903/0.1712, allocations: 453.2 kB / 0.9618 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.1719, allocations: 331 kB / 0.9621 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.1741, allocations: 1.51 MB / 0.9636 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.1742, allocations: 198.8 kB / 0.9638 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004306/0.1746, allocations: 194.7 kB / 0.964 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/0.1751, allocations: 365.9 kB / 0.9643 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of SimCode: time 1.704e-06/0.1751, allocations: 4 kB / 0.9643 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of Templates: time 0.02013/0.1953, allocations: 16.8 MB / 0.9808 GB, free: 5.375 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.701409031171352]