Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001519/0.001519, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001759/0.001759, allocations: 161 kB / 24.17 MB, free: 328 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.9148/0.9148, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.878/1.878, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.249e-05, allocations: 6.016 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.004871/0.004883, allocations: 5.106 MB / 0.765 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1269/0.1318, allocations: 146.1 MB / 0.9077 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006486/0.1325, allocations: 27.81 kB / 0.9077 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.1329, allocations: 206.1 kB / 0.9079 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.1341, allocations: 0.5822 MB / 0.9085 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.1353, allocations: 0.8645 MB / 0.9093 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.1367, allocations: 1.544 MB / 0.9108 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004937/0.1372, allocations: 426.8 kB / 0.9112 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007807/0.1379, allocations: 0.8107 MB / 0.912 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.1383, allocations: 402.8 kB / 0.9124 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.1384, allocations: 120 kB / 0.9125 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006409/0.1391, allocations: 0.5188 MB / 0.913 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.1392, allocations: 306.9 kB / 0.9133 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.1395, allocations: 399 kB / 0.9137 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.1406, allocations: 1.28 MB / 0.915 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.1406, allocations: 0 / 0.915 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.72e-07/0.1406, allocations: 0 / 0.915 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.1406, allocations: 4 kB / 0.915 GB, free: 7.566 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001354/0.142, allocations: 1.442 MB / 0.9164 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.676e-05/0.142, allocations: 8.031 kB / 0.9164 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000788/0.1428, allocations: 304.2 kB / 0.9167 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006558/0.1434, allocations: 0.6017 MB / 0.9173 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.1435, allocations: 74.12 kB / 0.9173 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.152e-05/0.1436, allocations: 92 kB / 0.9174 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009113/0.1445, allocations: 0.8953 MB / 0.9183 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.1445, allocations: 7.922 kB / 0.9183 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.1445, allocations: 44 kB / 0.9183 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.1446, allocations: 20 kB / 0.9184 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005855/0.1451, allocations: 0.5947 MB / 0.9189 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.147, allocations: 1.695 MB / 0.9206 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.1475, allocations: 446.5 kB / 0.921 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.1477, allocations: 143.8 kB / 0.9212 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.1477, allocations: 32.98 kB / 0.9212 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003468/0.1481, allocations: 471.2 kB / 0.9216 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=93): time 1.944e-06/0.1481, allocations: 0 / 0.9216 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.001004/0.1491, allocations: 0.5811 MB / 0.9222 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.1492, allocations: 208.8 kB / 0.9224 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.1495, allocations: 0.525 MB / 0.9229 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.1495, allocations: 45.7 kB / 0.923 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1497, allocations: 350.5 kB / 0.9233 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.1498, allocations: 313.3 kB / 0.9236 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.15, allocations: 174.5 kB / 0.9238 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1501, allocations: 402.6 kB / 0.9241 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.1502, allocations: 100.8 kB / 0.9242 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.1507, allocations: 315.6 kB / 0.9245 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.151, allocations: 349.1 kB / 0.9249 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.151, allocations: 4.062 kB / 0.9249 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0006319/0.1516, allocations: 490.9 kB / 0.9253 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1517, allocations: 4 kB / 0.9253 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1517, allocations: 0 / 0.9253 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003858/0.152, allocations: 124.8 kB / 0.9255 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.1525, allocations: 207.7 kB / 0.9257 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009285/0.1534, allocations: 1.32 MB / 0.927 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.1537, allocations: 85.77 kB / 0.927 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.1537, allocations: 27.97 kB / 0.9271 GB, free: 10.67 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (113): * Single equations (assignments): 112 * 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.000172/0.1539, allocations: 175 kB / 0.9272 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.403e-05/0.154, allocations: 83.86 kB / 0.9273 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008302/0.1548, allocations: 0.6344 MB / 0.9279 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.1548, allocations: 12 kB / 0.9279 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1548, allocations: 0 / 0.9279 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.1548, allocations: 11.95 kB / 0.928 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.1561, allocations: 1.152 MB / 0.9291 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1561, allocations: 0 / 0.9291 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.1565, allocations: 169.9 kB / 0.9292 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000305/0.1568, allocations: 116.7 kB / 0.9294 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.1568, allocations: 19.98 kB / 0.9294 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008079/0.1576, allocations: 1.317 MB / 0.9307 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1576, allocations: 0 / 0.9307 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.1587, allocations: 0.7359 MB / 0.9314 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.1589, allocations: 151.1 kB / 0.9315 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.159, allocations: 20 kB / 0.9315 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.1592, allocations: 40.11 kB / 0.9316 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.1593, allocations: 84.7 kB / 0.9317 GB, free: 5.789 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.1593, allocations: 23.98 kB / 0.9317 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002072/0.1595, allocations: 263.4 kB / 0.9319 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1595, allocations: 4.031 kB / 0.9319 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005256/0.1601, allocations: 351.1 kB / 0.9323 GB, free: 5.16 MB / 0.8855 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: 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 (104): * Single equations (assignments): 93 * 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.001411/0.1615, allocations: 0.7466 MB / 0.933 GB, free: 4.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006059/0.1621, allocations: 0.5409 MB / 0.9335 GB, free: 4.121 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.1621, allocations: 8 kB / 0.9335 GB, free: 4.113 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.1624, allocations: 383 kB / 0.9339 GB, free: 3.723 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006117/0.163, allocations: 315.9 kB / 0.9342 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.1652, allocations: 1.695 MB / 0.9359 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.1653, allocations: 199 kB / 0.936 GB, free: 1.484 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000394/0.1657, allocations: 203.1 kB / 0.9362 GB, free: 1.281 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/0.1662, allocations: 319 kB / 0.9365 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of SimCode: time 8.62e-07/0.1662, allocations: 0 / 0.9365 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of Templates: time 0.0198/0.186, allocations: 17.37 MB / 0.9535 GB, free: 15.94 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.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.66749524930492]