Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001009/0.001009, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001043/0.001043, allocations: 173 kB / 23.36 MB, free: 1.133 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.9716/0.9716, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.567/2.567, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.247e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1419/0.142, allocations: 149.9 MB / 0.9851 GB, free: 7.645 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.1522, allocations: 7.507 MB / 0.9924 GB, free: 120 kB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.1535, allocations: 47.62 kB / 0.9924 GB, free: 72 kB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009696/0.1545, allocations: 329.2 kB / 0.9927 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002628/0.1571, allocations: 1.196 MB / 0.9939 GB, free: 14.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.1592, allocations: 1.165 MB / 0.995 GB, free: 13.38 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002378/0.1615, allocations: 2.445 MB / 0.9974 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.1631, allocations: 1.069 MB / 0.9985 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.1649, allocations: 1.331 MB / 0.9998 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009016/0.1658, allocations: 0.6153 MB / 1 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002025/0.166, allocations: 148 kB / 1.001 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.1675, allocations: 0.7992 MB / 1.001 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.1678, allocations: 442.5 kB / 1.002 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0006279/0.1684, allocations: 0.5299 MB / 1.002 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.003118/0.1716, allocations: 1.705 MB / 1.004 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.1716, allocations: 0 / 1.004 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1716, allocations: 0 / 1.004 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.085e-05/0.1716, allocations: 0 / 1.004 GB, free: 4.281 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.002217/0.1738, allocations: 1.808 MB / 1.006 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1738, allocations: 12.62 kB / 1.006 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.1753, allocations: 451.8 kB / 1.006 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.1763, allocations: 0.788 MB / 1.007 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.1764, allocations: 90.22 kB / 1.007 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.1765, allocations: 124 kB / 1.007 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.1775, allocations: 1.148 MB / 1.008 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.1776, allocations: 0 / 1.008 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.838e-05/0.1776, allocations: 44 kB / 1.008 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.1777, allocations: 42.17 kB / 1.008 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007448/0.1784, allocations: 0.6629 MB / 1.009 GB, free: 14.88 MB / 0.9792 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.1812, allocations: 2.153 MB / 1.011 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.1819, allocations: 0.5053 MB / 1.012 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.1821, allocations: 177.5 kB / 1.012 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-05/0.1821, allocations: 36.97 kB / 1.012 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004998/0.1826, allocations: 0.6152 MB / 1.012 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 2.885e-06/0.1826, allocations: 0 / 1.012 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.001416/0.184, allocations: 0.6747 MB / 1.013 GB, free: 10.58 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.1841, allocations: 200.9 kB / 1.013 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.1846, allocations: 0.6732 MB / 1.014 GB, free: 9.66 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.1847, allocations: 53.7 kB / 1.014 GB, free: 9.602 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.1849, allocations: 431.2 kB / 1.014 GB, free: 9.172 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.1851, allocations: 376.7 kB / 1.015 GB, free: 8.801 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.1853, allocations: 210.8 kB / 1.015 GB, free: 8.59 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.1854, allocations: 345.9 kB / 1.015 GB, free: 8.246 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.1856, allocations: 121.4 kB / 1.015 GB, free: 8.125 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.1858, allocations: 392.1 kB / 1.016 GB, free: 7.68 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004455/0.1863, allocations: 447.2 kB / 1.016 GB, free: 7.211 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1863, allocations: 0 / 1.016 GB, free: 7.211 MB / 0.9792 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0007908/0.1871, allocations: 0.5784 MB / 1.017 GB, free: 6.621 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1871, allocations: 7.984 kB / 1.017 GB, free: 6.613 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1871, allocations: 4.281 kB / 1.017 GB, free: 6.609 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.1875, allocations: 124.7 kB / 1.017 GB, free: 6.484 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000561/0.1881, allocations: 251.7 kB / 1.017 GB, free: 6.238 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.1892, allocations: 1.332 MB / 1.018 GB, free: 4.816 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.1896, allocations: 91.44 kB / 1.018 GB, free: 4.727 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.1897, allocations: 31.97 kB / 1.018 GB, free: 4.695 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (137): * Single equations (assignments): 136 * 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.0002369/0.1899, allocations: 195.2 kB / 1.019 GB, free: 4.492 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.19, allocations: 111.8 kB / 1.019 GB, free: 4.383 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009436/0.191, allocations: 0.6952 MB / 1.019 GB, free: 3.676 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.191, allocations: 12 kB / 1.019 GB, free: 3.664 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.191, allocations: 0 / 1.019 GB, free: 3.664 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.191, allocations: 7.969 kB / 1.019 GB, free: 3.656 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.1929, allocations: 1.331 MB / 1.021 GB, free: 2.277 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1929, allocations: 0 / 1.021 GB, free: 2.277 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/0.1935, allocations: 256 kB / 1.021 GB, free: 2.027 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003214/0.1938, allocations: 104.8 kB / 1.021 GB, free: 1.922 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.1938, allocations: 27.97 kB / 1.021 GB, free: 1.895 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009041/0.1947, allocations: 1.333 MB / 1.022 GB, free: 480 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1947, allocations: 0 / 1.022 GB, free: 480 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009889/0.1957, allocations: 0.8296 MB / 1.023 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.196, allocations: 178.9 kB / 1.023 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.1961, allocations: 31.98 kB / 1.023 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.1964, allocations: 53.62 kB / 1.023 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.1966, allocations: 80.84 kB / 1.024 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.1966, allocations: 27.97 kB / 1.024 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002635/0.1969, allocations: 336.4 kB / 1.024 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1969, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008352/0.1977, allocations: 450.9 kB / 1.024 GB, free: 14.49 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (120): * Single equations (assignments): 109 * 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.001615/0.1993, allocations: 0.7687 MB / 1.025 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000794/0.2001, allocations: 0.6057 MB / 1.026 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/0.2001, allocations: 8 kB / 1.026 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.2005, allocations: 422.8 kB / 1.026 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.2016, allocations: 0.5146 MB / 1.027 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.2045, allocations: 2.092 MB / 1.029 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.2047, allocations: 248.9 kB / 1.029 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005998/0.2053, allocations: 237.4 kB / 1.029 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008091/0.2061, allocations: 433 kB / 1.03 GB, free: 9.371 MB / 0.9948 GB Notification: Performance of SimCode: time 1.142e-06/0.2061, allocations: 8 kB / 1.03 GB, free: 9.363 MB / 0.9948 GB Notification: Performance of Templates: time 0.03001/0.2361, allocations: 23.95 MB / 1.053 GB, free: 1.902 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.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: 6.8108873050659895]