Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008808/0.0008808, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0008862/0.0008862, allocations: 165 kB / 23.82 MB, free: 0.75 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.9144/0.9144, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.886/1.886, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.641e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005263/0.005289, allocations: 4.824 MB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1219/0.1272, allocations: 146.5 MB / 0.9593 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007887/0.128, allocations: 23.81 kB / 0.9593 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007691/0.1287, allocations: 198.1 kB / 0.9595 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.1309, allocations: 0.5824 MB / 0.9601 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.1327, allocations: 0.8763 MB / 0.961 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.1341, allocations: 1.455 MB / 0.9624 GB, free: 6.754 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006167/0.1347, allocations: 390 kB / 0.9628 GB, free: 6.355 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.1359, allocations: 0.7757 MB / 0.9635 GB, free: 5.578 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.1363, allocations: 378.8 kB / 0.9639 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.1365, allocations: 112 kB / 0.964 GB, free: 5.098 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008056/0.1373, allocations: 491.4 kB / 0.9644 GB, free: 4.617 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.1375, allocations: 294.9 kB / 0.9647 GB, free: 4.328 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.1378, allocations: 375 kB / 0.9651 GB, free: 3.961 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.1393, allocations: 1.242 MB / 0.9663 GB, free: 2.711 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1393, allocations: 0 / 0.9663 GB, free: 2.711 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1393, allocations: 0 / 0.9663 GB, free: 2.711 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.332e-05/0.1393, allocations: 0 / 0.9663 GB, free: 2.711 MB / 0.9167 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.001818/0.1411, allocations: 1.507 MB / 0.9678 GB, free: 1.156 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1411, allocations: 8.031 kB / 0.9678 GB, free: 1.148 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009222/0.1421, allocations: 327.6 kB / 0.9681 GB, free: 0.8281 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008383/0.1429, allocations: 0.7189 MB / 0.9688 GB, free: 88 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/0.1429, allocations: 66.12 kB / 0.9689 GB, free: 20 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.563e-05/0.143, allocations: 91.98 kB / 0.9689 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.144, allocations: 0.9435 MB / 0.9699 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.1441, allocations: 4 kB / 0.9699 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.1441, allocations: 39.98 kB / 0.9699 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.1441, allocations: 20 kB / 0.9699 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.1451, allocations: 0.7802 MB / 0.9707 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.1478, allocations: 2.41 MB / 0.973 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007715/0.1485, allocations: 497.4 kB / 0.9735 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.1488, allocations: 189.6 kB / 0.9737 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.463e-05/0.1488, allocations: 32.62 kB / 0.9737 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004877/0.1493, allocations: 490.5 kB / 0.9742 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 3.587e-06/0.1493, allocations: 0 / 0.9742 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.001618/0.1509, allocations: 0.8431 MB / 0.975 GB, free: 9.48 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.151, allocations: 204.9 kB / 0.9752 GB, free: 9.234 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.1515, allocations: 0.5854 MB / 0.9758 GB, free: 8.637 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/0.1516, allocations: 45.7 kB / 0.9758 GB, free: 8.586 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.1518, allocations: 459.9 kB / 0.9763 GB, free: 8.129 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.152, allocations: 289.5 kB / 0.9765 GB, free: 7.844 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.1521, allocations: 184.2 kB / 0.9767 GB, free: 7.656 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000308/0.1524, allocations: 0.5586 MB / 0.9773 GB, free: 7.086 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.1527, allocations: 137.9 kB / 0.9774 GB, free: 6.953 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.153, allocations: 401.5 kB / 0.9778 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.1535, allocations: 398.8 kB / 0.9782 GB, free: 6.098 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1535, allocations: 0 / 0.9782 GB, free: 6.098 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001005/0.1545, allocations: 0.6839 MB / 0.9788 GB, free: 5.398 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1545, allocations: 8 kB / 0.9788 GB, free: 5.391 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1545, allocations: 0 / 0.9788 GB, free: 5.391 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004742/0.155, allocations: 139.6 kB / 0.979 GB, free: 5.25 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.1554, allocations: 175.8 kB / 0.9791 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.1568, allocations: 1.9 MB / 0.981 GB, free: 3.055 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.1572, allocations: 79.53 kB / 0.9811 GB, free: 2.977 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.1572, allocations: 39.97 kB / 0.9811 GB, free: 2.938 MB / 0.9323 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.000243/0.1575, allocations: 211.3 kB / 0.9813 GB, free: 2.719 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.1576, allocations: 123.4 kB / 0.9814 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.1588, allocations: 0.8344 MB / 0.9822 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.1588, allocations: 12 kB / 0.9822 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1588, allocations: 0 / 0.9822 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.1588, allocations: 7.969 kB / 0.9823 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.1607, allocations: 1.62 MB / 0.9838 GB, free: 48 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1607, allocations: 3.938 kB / 0.9838 GB, free: 44 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.1612, allocations: 143.9 kB / 0.984 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003755/0.1616, allocations: 111.6 kB / 0.9841 GB, free: 15.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.1616, allocations: 23.98 kB / 0.9841 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.1628, allocations: 1.926 MB / 0.986 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1628, allocations: 0 / 0.986 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.1639, allocations: 0.8649 MB / 0.9868 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.1641, allocations: 199 kB / 0.987 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.992e-05/0.1642, allocations: 28.02 kB / 0.9871 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.1644, allocations: 39.97 kB / 0.9871 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.1646, allocations: 72.8 kB / 0.9872 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-05/0.1646, allocations: 43.98 kB / 0.9872 GB, free: 12.44 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003041/0.1649, allocations: 387 kB / 0.9876 GB, free: 12.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1649, allocations: 0 / 0.9876 GB, free: 12.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007054/0.1656, allocations: 335.1 kB / 0.9879 GB, free: 11.74 MB / 0.948 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.001315/0.1669, allocations: 0.635 MB / 0.9885 GB, free: 11.28 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009796/0.1679, allocations: 0.668 MB / 0.9892 GB, free: 10.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1679, allocations: 0 / 0.9892 GB, free: 10.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.1684, allocations: 489.2 kB / 0.9896 GB, free: 10.09 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007305/0.1691, allocations: 303.9 kB / 0.9899 GB, free: 9.809 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.1716, allocations: 1.548 MB / 0.9914 GB, free: 8.227 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.1718, allocations: 194.9 kB / 0.9916 GB, free: 8.016 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004967/0.1723, allocations: 266.6 kB / 0.9919 GB, free: 7.75 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.1724, allocations: 112.4 kB / 0.992 GB, free: 7.641 MB / 0.948 GB Notification: Performance of SimCode: time 1.623e-06/0.1725, allocations: 0 / 0.992 GB, free: 7.641 MB / 0.948 GB Notification: Performance of Templates: time 0.02141/0.1939, allocations: 16.46 MB / 1.008 GB, free: 7.473 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.638476026710123]