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.0009297/0.0009297, allocations: 87.58 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.0009332/0.0009332, allocations: 161 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.9095/0.9095, allocations: 177.2 MB / 204.2 MB, free: 5.598 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.855/1.855, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.857e-05, allocations: 8.641 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005811/0.005839, allocations: 5.039 MB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1409/0.1467, allocations: 146.6 MB / 0.9596 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008228/0.1476, allocations: 27.81 kB / 0.9596 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.1481, allocations: 198.1 kB / 0.9598 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.1496, allocations: 0.6095 MB / 0.9604 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.1514, allocations: 0.8724 MB / 0.9612 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.1527, allocations: 1.509 MB / 0.9627 GB, free: 6.395 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/0.1533, allocations: 410.2 kB / 0.9631 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.1543, allocations: 0.7991 MB / 0.9639 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004728/0.1548, allocations: 390.8 kB / 0.9643 GB, free: 4.793 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.155, allocations: 116 kB / 0.9644 GB, free: 4.68 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008527/0.1558, allocations: 499.3 kB / 0.9649 GB, free: 4.191 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.156, allocations: 299 kB / 0.9651 GB, free: 3.898 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.1563, allocations: 406.9 kB / 0.9655 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.1578, allocations: 1.265 MB / 0.9668 GB, free: 2.227 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1578, allocations: 0 / 0.9668 GB, free: 2.227 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1578, allocations: 0 / 0.9668 GB, free: 2.227 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.344e-05/0.1578, allocations: 0 / 0.9668 GB, free: 2.227 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002071/0.1599, allocations: 1.539 MB / 0.9683 GB, free: 0.6445 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1599, allocations: 16.02 kB / 0.9683 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008921/0.1608, allocations: 343.4 kB / 0.9686 GB, free: 300 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008268/0.1617, allocations: 0.7229 MB / 0.9693 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.1617, allocations: 70.12 kB / 0.9694 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.877e-05/0.1618, allocations: 92 kB / 0.9695 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009801/0.1628, allocations: 0.9517 MB / 0.9704 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.1628, allocations: 3.984 kB / 0.9704 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.1629, allocations: 40 kB / 0.9704 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1629, allocations: 24 kB / 0.9705 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008875/0.1638, allocations: 0.7958 MB / 0.9712 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.1663, allocations: 2.352 MB / 0.9735 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007659/0.1671, allocations: 0.5089 MB / 0.974 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.1673, allocations: 198.6 kB / 0.9742 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.014e-05/0.1674, allocations: 36.91 kB / 0.9743 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004996/0.1679, allocations: 494.9 kB / 0.9747 GB, free: 9.773 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 3.046e-06/0.1679, allocations: 0 / 0.9747 GB, free: 9.773 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.001836/0.1697, allocations: 0.8626 MB / 0.9756 GB, free: 8.902 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.1698, allocations: 204.9 kB / 0.9758 GB, free: 8.66 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.1703, allocations: 0.5893 MB / 0.9763 GB, free: 8.059 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.892e-05/0.1703, allocations: 49.7 kB / 0.9764 GB, free: 8.004 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.1706, allocations: 464 kB / 0.9768 GB, free: 7.543 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.1707, allocations: 305.4 kB / 0.9771 GB, free: 7.242 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.1709, allocations: 188.2 kB / 0.9773 GB, free: 7.047 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1711, allocations: 0.5703 MB / 0.9779 GB, free: 6.465 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.1713, allocations: 145.9 kB / 0.978 GB, free: 6.324 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.1717, allocations: 393.7 kB / 0.9784 GB, free: 5.891 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.1722, allocations: 403.2 kB / 0.9788 GB, free: 5.48 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1722, allocations: 0 / 0.9788 GB, free: 5.48 MB / 0.9323 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00101/0.1732, allocations: 0.6918 MB / 0.9794 GB, free: 4.781 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1732, allocations: 4.938 kB / 0.9794 GB, free: 4.777 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1732, allocations: 4 kB / 0.9794 GB, free: 4.773 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004561/0.1736, allocations: 127.7 kB / 0.9796 GB, free: 4.645 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.1741, allocations: 187.7 kB / 0.9797 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.1754, allocations: 1.906 MB / 0.9816 GB, free: 2.422 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.1757, allocations: 81.05 kB / 0.9817 GB, free: 2.344 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.1758, allocations: 39.97 kB / 0.9817 GB, free: 2.305 MB / 0.9323 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.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 (110): * Single equations (assignments): 109 * 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.0004723/0.1763, allocations: 223 kB / 0.9819 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.1764, allocations: 115.4 kB / 0.982 GB, free: 1.965 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.1775, allocations: 0.8579 MB / 0.9829 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1775, allocations: 11.98 kB / 0.9829 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1776, allocations: 8 kB / 0.9829 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1776, allocations: 3.984 kB / 0.9829 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.1795, allocations: 1.647 MB / 0.9845 GB, free: 15.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1795, allocations: 4 kB / 0.9845 GB, free: 15.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.1798, allocations: 155.8 kB / 0.9847 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003501/0.1801, allocations: 111.6 kB / 0.9848 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/0.1802, allocations: 27.98 kB / 0.9848 GB, free: 15.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.1813, allocations: 1.914 MB / 0.9867 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1813, allocations: 4 kB / 0.9867 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.1825, allocations: 1.066 MB / 0.9877 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.1828, allocations: 203 kB / 0.9879 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-05/0.1829, allocations: 31.89 kB / 0.9879 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.1831, allocations: 40 kB / 0.988 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.1832, allocations: 76.86 kB / 0.988 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.1833, allocations: 36.03 kB / 0.9881 GB, free: 11.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002964/0.1836, allocations: 395 kB / 0.9885 GB, free: 11.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1836, allocations: 0 / 0.9885 GB, free: 11.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006512/0.1842, allocations: 351.1 kB / 0.9888 GB, free: 10.82 MB / 0.948 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 (101): * Single equations (assignments): 90 * 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.001476/0.1857, allocations: 0.6251 MB / 0.9894 GB, free: 10.37 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000907/0.1866, allocations: 0.6876 MB / 0.9901 GB, free: 9.656 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1866, allocations: 0 / 0.9901 GB, free: 9.656 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004504/0.187, allocations: 481 kB / 0.9905 GB, free: 9.168 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007058/0.1878, allocations: 325.5 kB / 0.9908 GB, free: 8.871 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.1901, allocations: 1.65 MB / 0.9925 GB, free: 7.184 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.1902, allocations: 202.9 kB / 0.9926 GB, free: 6.965 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004604/0.1907, allocations: 258.8 kB / 0.9929 GB, free: 6.707 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.1909, allocations: 112.4 kB / 0.993 GB, free: 6.598 MB / 0.948 GB Notification: Performance of SimCode: time 2.034e-06/0.1909, allocations: 4 kB / 0.993 GB, free: 6.594 MB / 0.948 GB Notification: Performance of Templates: time 0.02069/0.2116, allocations: 16.71 MB / 1.009 GB, free: 6.176 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.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.602215311955661]