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.0009278/0.0009278, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.0009616/0.0009616, allocations: 169 kB / 24.28 MB, free: 268 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.9288/0.9288, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.834/1.834, allocations: 377.8 MB / 0.6239 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 2.414e-06/2.414e-06, allocations: 0 / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.147e-05, allocations: 6.312 kB / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.008578/0.00861, allocations: 5.004 MB / 0.8164 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1668/0.1754, allocations: 146.3 MB / 0.9593 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006484/0.1761, allocations: 23.81 kB / 0.9593 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004944/0.1766, allocations: 210.1 kB / 0.9595 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.1778, allocations: 0.5901 MB / 0.9601 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.1792, allocations: 0.8763 MB / 0.9609 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.1805, allocations: 1.509 MB / 0.9624 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005912/0.1811, allocations: 406.3 kB / 0.9628 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008603/0.182, allocations: 0.764 MB / 0.9636 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.1824, allocations: 418.8 kB / 0.964 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.1826, allocations: 124 kB / 0.9641 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006393/0.1832, allocations: 0.4993 MB / 0.9646 GB, free: 4.816 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.1834, allocations: 319 kB / 0.9649 GB, free: 4.504 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002843/0.1837, allocations: 418.9 kB / 0.9653 GB, free: 4.094 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.1849, allocations: 1.304 MB / 0.9665 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1849, allocations: 0 / 0.9665 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1849, allocations: 0 / 0.9665 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.1849, allocations: 0 / 0.9665 GB, free: 2.781 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.001687/0.1866, allocations: 1.555 MB / 0.9681 GB, free: 1.184 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1866, allocations: 8.031 kB / 0.9681 GB, free: 1.176 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008966/0.1875, allocations: 339.5 kB / 0.9684 GB, free: 0.8438 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009326/0.1885, allocations: 0.7325 MB / 0.9691 GB, free: 88 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.1885, allocations: 78.11 kB / 0.9692 GB, free: 12 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.1886, allocations: 92.05 kB / 0.9693 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009578/0.1896, allocations: 1.036 MB / 0.9703 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.1896, allocations: 0 / 0.9703 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/0.1896, allocations: 36 kB / 0.9703 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.1897, allocations: 20 kB / 0.9703 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000868/0.1905, allocations: 0.8074 MB / 0.9711 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.1929, allocations: 2.391 MB / 0.9735 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/0.1937, allocations: 0.5231 MB / 0.974 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.1939, allocations: 178.6 kB / 0.9741 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.194, allocations: 36.97 kB / 0.9742 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004725/0.1944, allocations: 0.4988 MB / 0.9747 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 2.134e-06/0.1944, allocations: 0 / 0.9747 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.001531/0.196, allocations: 0.8666 MB / 0.9755 GB, free: 9.285 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.196, allocations: 204.8 kB / 0.9757 GB, free: 9.043 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000592/0.1966, allocations: 0.5932 MB / 0.9763 GB, free: 8.434 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.1967, allocations: 49.7 kB / 0.9763 GB, free: 8.379 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.1969, allocations: 464 kB / 0.9768 GB, free: 7.918 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.1971, allocations: 301.5 kB / 0.9771 GB, free: 7.621 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.1972, allocations: 196.2 kB / 0.9772 GB, free: 7.418 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1974, allocations: 0.5664 MB / 0.9778 GB, free: 6.84 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.1976, allocations: 145.9 kB / 0.9779 GB, free: 6.699 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.198, allocations: 397.7 kB / 0.9783 GB, free: 6.262 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.1985, allocations: 411.1 kB / 0.9787 GB, free: 5.844 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1985, allocations: 0 / 0.9787 GB, free: 5.844 MB / 0.9323 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0009968/0.1995, allocations: 0.6958 MB / 0.9794 GB, free: 5.137 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1995, allocations: 8 kB / 0.9794 GB, free: 5.129 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1995, allocations: 0 / 0.9794 GB, free: 5.129 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004526/0.2, allocations: 127.7 kB / 0.9795 GB, free: 5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.2003, allocations: 187.7 kB / 0.9797 GB, free: 4.816 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.2016, allocations: 1.904 MB / 0.9816 GB, free: 2.781 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.2019, allocations: 79.48 kB / 0.9816 GB, free: 2.703 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/0.2019, allocations: 47.95 kB / 0.9817 GB, free: 2.656 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.0001941/0.2021, allocations: 219.1 kB / 0.9819 GB, free: 2.43 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.2022, allocations: 123.4 kB / 0.982 GB, free: 2.309 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.2035, allocations: 0.8617 MB / 0.9828 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2035, allocations: 8 kB / 0.9828 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2035, allocations: 0 / 0.9828 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.2035, allocations: 3.984 kB / 0.9829 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.2053, allocations: 1.667 MB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2053, allocations: 0 / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.2057, allocations: 155.7 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000338/0.206, allocations: 127.5 kB / 0.9848 GB, free: 15.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.206, allocations: 23.98 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.2071, allocations: 1.922 MB / 0.9867 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2071, allocations: 0 / 0.9867 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.2084, allocations: 1.074 MB / 0.9877 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.2086, allocations: 203.1 kB / 0.9879 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.703e-05/0.2087, allocations: 31.89 kB / 0.9879 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.2089, allocations: 43.95 kB / 0.988 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.209, allocations: 76.86 kB / 0.988 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.2091, allocations: 35.97 kB / 0.9881 GB, free: 11.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002947/0.2094, allocations: 406.9 kB / 0.9885 GB, free: 11.47 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.2094, allocations: 0 / 0.9885 GB, free: 11.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005305/0.2099, allocations: 351.1 kB / 0.9888 GB, free: 11.12 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.001206/0.2111, allocations: 0.6315 MB / 0.9894 GB, free: 10.66 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009913/0.2121, allocations: 0.6836 MB / 0.9901 GB, free: 9.957 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2121, allocations: 0 / 0.9901 GB, free: 9.957 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004457/0.2125, allocations: 0.4894 MB / 0.9906 GB, free: 9.449 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.2132, allocations: 322.7 kB / 0.9909 GB, free: 9.148 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.2154, allocations: 1.656 MB / 0.9925 GB, free: 7.461 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.2155, allocations: 198.9 kB / 0.9927 GB, free: 7.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000449/0.2159, allocations: 254.9 kB / 0.9929 GB, free: 6.996 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.2161, allocations: 108.4 kB / 0.993 GB, free: 6.891 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.2161, allocations: 8 kB / 0.993 GB, free: 6.883 MB / 0.948 GB Notification: Performance of Templates: time 0.0212/0.2373, allocations: 16 MB / 1.009 GB, free: 7.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.565448090899736]