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.001053/0.001053, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001683/0.001683, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 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.9418/0.9418, allocations: 177.1 MB / 204.2 MB, free: 5.297 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.833/1.833, allocations: 359 MB / 0.6052 GB, free: 11.01 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.533e-06/1.533e-06, allocations: 0 / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.399e-05, allocations: 4.984 kB / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004979/0.005003, allocations: 4.828 MB / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1274/0.1324, allocations: 146.5 MB / 0.9349 GB, free: 4.684 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006643/0.1331, allocations: 23.81 kB / 0.9349 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.1336, allocations: 198.2 kB / 0.9351 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.1349, allocations: 0.5708 MB / 0.9356 GB, free: 3.891 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.1362, allocations: 0.8763 MB / 0.9365 GB, free: 3.012 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0009424/0.1371, allocations: 1.459 MB / 0.9379 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005055/0.1377, allocations: 393.9 kB / 0.9383 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006016/0.1383, allocations: 0.7368 MB / 0.939 GB, free: 412 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/0.1388, allocations: 410.6 kB / 0.9394 GB, free: 4 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.1389, allocations: 120 kB / 0.9395 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000718/0.1396, allocations: 0.4915 MB / 0.94 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.1398, allocations: 307 kB / 0.9403 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002573/0.1401, allocations: 399 kB / 0.9407 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.1412, allocations: 1.269 MB / 0.9419 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1412, allocations: 0 / 0.9419 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1412, allocations: 0 / 0.9419 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.1412, allocations: 0 / 0.9419 GB, free: 13.43 MB / 0.9011 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.0016/0.1428, allocations: 1.531 MB / 0.9434 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.1429, allocations: 8.031 kB / 0.9434 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009026/0.1438, allocations: 323.6 kB / 0.9437 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008015/0.1446, allocations: 0.7247 MB / 0.9444 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.1446, allocations: 70.11 kB / 0.9445 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.418e-05/0.1447, allocations: 88 kB / 0.9446 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009785/0.1457, allocations: 1.009 MB / 0.9456 GB, free: 9.484 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.1457, allocations: 7.938 kB / 0.9456 GB, free: 9.477 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.1458, allocations: 43.98 kB / 0.9456 GB, free: 9.434 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.1458, allocations: 20 kB / 0.9456 GB, free: 9.414 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009838/0.1468, allocations: 0.7879 MB / 0.9464 GB, free: 8.625 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.1492, allocations: 2.468 MB / 0.9488 GB, free: 6.086 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/0.15, allocations: 0.4896 MB / 0.9493 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.1502, allocations: 179.2 kB / 0.9495 GB, free: 5.414 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.205e-05/0.1503, allocations: 24.64 kB / 0.9495 GB, free: 5.387 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004907/0.1507, allocations: 498.5 kB / 0.95 GB, free: 4.855 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=86): time 2.555e-06/0.1508, allocations: 0 / 0.95 GB, free: 4.855 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86): time 0.001552/0.1523, allocations: 0.8508 MB / 0.9508 GB, free: 3.992 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.1524, allocations: 196.9 kB / 0.951 GB, free: 3.758 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004784/0.1529, allocations: 0.5932 MB / 0.9516 GB, free: 3.152 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.1529, allocations: 49.7 kB / 0.9516 GB, free: 3.098 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.1531, allocations: 455.9 kB / 0.952 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.1533, allocations: 293.5 kB / 0.9523 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.1535, allocations: 188.2 kB / 0.9525 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0004198/0.1539, allocations: 0.5586 MB / 0.953 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.1541, allocations: 141.9 kB / 0.9532 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.1545, allocations: 389.5 kB / 0.9536 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.155, allocations: 410.8 kB / 0.9539 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.155, allocations: 0 / 0.9539 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001009/0.156, allocations: 0.6879 MB / 0.9546 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.156, allocations: 8 kB / 0.9546 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.156, allocations: 0 / 0.9546 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004857/0.1565, allocations: 127.7 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.1569, allocations: 179.7 kB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.1583, allocations: 1.902 MB / 0.9568 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.1585, allocations: 87.42 kB / 0.9569 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.1586, allocations: 39.98 kB / 0.9569 GB, free: 13.44 MB / 0.9167 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0002011/0.1588, allocations: 215.1 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.1589, allocations: 107.5 kB / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.1601, allocations: 0.85 MB / 0.958 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1601, allocations: 16 kB / 0.958 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1601, allocations: 3.984 kB / 0.9581 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.1601, allocations: 3.984 kB / 0.9581 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.1619, allocations: 1.628 MB / 0.9596 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1619, allocations: 0 / 0.9596 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.1622, allocations: 143.8 kB / 0.9598 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003533/0.1626, allocations: 115.6 kB / 0.9599 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.1626, allocations: 23.98 kB / 0.9599 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.1639, allocations: 1.925 MB / 0.9618 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1639, allocations: 4.094 kB / 0.9618 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1649, allocations: 0.8727 MB / 0.9627 GB, free: 7.297 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.1652, allocations: 203.1 kB / 0.9628 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.1652, allocations: 24 kB / 0.9629 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.1655, allocations: 50.45 kB / 0.9629 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.1656, allocations: 72.86 kB / 0.963 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.1656, allocations: 39.91 kB / 0.963 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003079/0.1659, allocations: 399 kB / 0.9634 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1659, allocations: 0 / 0.9634 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006811/0.1666, allocations: 343 kB / 0.9637 GB, free: 6.199 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.001374/0.168, allocations: 0.6317 MB / 0.9643 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008669/0.1689, allocations: 0.6719 MB / 0.965 GB, free: 5.051 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1689, allocations: 0 / 0.965 GB, free: 5.051 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.1693, allocations: 485 kB / 0.9655 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007177/0.17, allocations: 323.6 kB / 0.9658 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.1723, allocations: 1.555 MB / 0.9673 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.1724, allocations: 194.9 kB / 0.9675 GB, free: 2.445 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004081/0.1728, allocations: 258.7 kB / 0.9677 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.173, allocations: 108.4 kB / 0.9678 GB, free: 2.078 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.173, allocations: 4 kB / 0.9678 GB, free: 2.074 MB / 0.9167 GB Notification: Performance of Templates: time 0.01754/0.1905, allocations: 15.75 MB / 0.9832 GB, free: 2.59 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.81524662533775]