Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008807/0.0008807, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0008983/0.0008983, allocations: 161 kB / 24.17 MB, free: 328 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.9475/0.9475, allocations: 177.2 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.841/1.841, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.701e-05, allocations: 5.406 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1376/0.1376, allocations: 149.9 MB / 0.9064 GB, free: 356 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00962/0.1472, allocations: 7.497 MB / 0.9137 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.1483, allocations: 47.62 kB / 0.9138 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008117/0.1492, allocations: 341.1 kB / 0.9141 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002392/0.1515, allocations: 1.215 MB / 0.9153 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.1535, allocations: 1.176 MB / 0.9164 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.1556, allocations: 2.468 MB / 0.9188 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.1567, allocations: 1.035 MB / 0.9198 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.1584, allocations: 1.356 MB / 0.9212 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006261/0.159, allocations: 0.6192 MB / 0.9218 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.1592, allocations: 148 kB / 0.9219 GB, free: 400 kB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.1603, allocations: 0.7602 MB / 0.9227 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.1606, allocations: 454.5 kB / 0.9231 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.161, allocations: 0.5182 MB / 0.9236 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.1627, allocations: 1.716 MB / 0.9253 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1627, allocations: 0 / 0.9253 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1627, allocations: 0 / 0.9253 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.1627, allocations: 0 / 0.9253 GB, free: 12.94 MB / 0.8855 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.001821/0.1646, allocations: 1.804 MB / 0.927 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.1646, allocations: 8.031 kB / 0.927 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.1658, allocations: 455.8 kB / 0.9275 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000923/0.1667, allocations: 0.7919 MB / 0.9282 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.1667, allocations: 86.22 kB / 0.9283 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.1669, allocations: 123.9 kB / 0.9285 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.1677, allocations: 1.14 MB / 0.9296 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.1678, allocations: 3.938 kB / 0.9296 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.1678, allocations: 48 kB / 0.9296 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/0.1678, allocations: 38.17 kB / 0.9296 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006916/0.1685, allocations: 0.6551 MB / 0.9303 GB, free: 7.559 MB / 0.8855 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.002547/0.1711, allocations: 2.156 MB / 0.9324 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.1717, allocations: 0.5092 MB / 0.9329 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.1719, allocations: 178.5 kB / 0.9331 GB, free: 4.668 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.563e-05/0.1719, allocations: 36.97 kB / 0.9331 GB, free: 4.633 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004281/0.1724, allocations: 0.6036 MB / 0.9337 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 2.204e-06/0.1724, allocations: 4 kB / 0.9337 GB, free: 3.957 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.001168/0.1735, allocations: 0.6709 MB / 0.9343 GB, free: 3.281 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.1736, allocations: 204.9 kB / 0.9345 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/0.1741, allocations: 0.677 MB / 0.9352 GB, free: 2.34 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.1741, allocations: 57.7 kB / 0.9353 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.1743, allocations: 427.2 kB / 0.9357 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.1745, allocations: 380.7 kB / 0.936 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.1747, allocations: 206.7 kB / 0.9362 GB, free: 1.27 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.607e-05/0.1748, allocations: 353.8 kB / 0.9366 GB, free: 0.918 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.1749, allocations: 121.4 kB / 0.9367 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.1752, allocations: 380.2 kB / 0.937 GB, free: 372 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.1756, allocations: 455.2 kB / 0.9375 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.1756, allocations: 0 / 0.9375 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0007378/0.1764, allocations: 0.5747 MB / 0.938 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1764, allocations: 4 kB / 0.938 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1764, allocations: 4 kB / 0.938 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003845/0.1768, allocations: 128.8 kB / 0.9382 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.1772, allocations: 235.6 kB / 0.9384 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009959/0.1782, allocations: 1.313 MB / 0.9397 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.1786, allocations: 99.41 kB / 0.9398 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.1786, allocations: 39.97 kB / 0.9398 GB, free: 13.39 MB / 0.9011 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.0002237/0.1789, allocations: 179 kB / 0.94 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.179, allocations: 103.9 kB / 0.9401 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008927/0.1799, allocations: 0.7194 MB / 0.9408 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.1799, allocations: 12 kB / 0.9408 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.1799, allocations: 0 / 0.9408 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.1799, allocations: 7.969 kB / 0.9408 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.1815, allocations: 1.331 MB / 0.9421 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1815, allocations: 0 / 0.9421 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.1819, allocations: 203.7 kB / 0.9423 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003087/0.1822, allocations: 112.7 kB / 0.9424 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.1823, allocations: 31.97 kB / 0.9424 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008315/0.1831, allocations: 1.317 MB / 0.9437 GB, free: 9.219 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1831, allocations: 0 / 0.9437 GB, free: 9.219 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009328/0.184, allocations: 0.8502 MB / 0.9445 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.1843, allocations: 182.9 kB / 0.9447 GB, free: 8.172 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.411e-05/0.1844, allocations: 31.94 kB / 0.9448 GB, free: 8.141 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.1847, allocations: 43.97 kB / 0.9448 GB, free: 8.098 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.473e-05/0.1848, allocations: 80.83 kB / 0.9449 GB, free: 8.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/0.1848, allocations: 27.98 kB / 0.9449 GB, free: 7.992 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002625/0.1851, allocations: 343.3 kB / 0.9452 GB, free: 7.66 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1851, allocations: 0 / 0.9452 GB, free: 7.66 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007255/0.1858, allocations: 451 kB / 0.9457 GB, free: 7.219 MB / 0.9011 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 (121): * Single equations (assignments): 110 * 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.001419/0.1872, allocations: 0.761 MB / 0.9464 GB, free: 6.723 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007043/0.1879, allocations: 0.613 MB / 0.947 GB, free: 6.098 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.188, allocations: 15.94 kB / 0.947 GB, free: 6.082 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.1883, allocations: 415.5 kB / 0.9474 GB, free: 5.66 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009889/0.1893, allocations: 0.499 MB / 0.9479 GB, free: 5.184 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.1918, allocations: 2.107 MB / 0.95 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.192, allocations: 248.9 kB / 0.9502 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005486/0.1926, allocations: 241.3 kB / 0.9504 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007409/0.1933, allocations: 433 kB / 0.9508 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of SimCode: time 8.72e-07/0.1933, allocations: 0 / 0.9508 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of Templates: time 0.02608/0.2194, allocations: 23.77 MB / 0.974 GB, free: 10.82 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.8577501038089395]