Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.0009583/0.0009583, 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.000953/0.000953, 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.9707/0.9707, allocations: 177.1 MB / 204.2 MB, free: 5.203 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.803/1.803, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.576e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.52 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005008/0.005024, allocations: 5.15 MB / 0.7921 GB, free: 7.367 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.1227/0.1277, allocations: 146.6 MB / 0.9353 GB, free: 4.277 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006751/0.1284, allocations: 23.81 kB / 0.9353 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005009/0.1289, allocations: 210.1 kB / 0.9355 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.1302, allocations: 0.594 MB / 0.9361 GB, free: 3.449 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.1316, allocations: 0.888 MB / 0.937 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0009248/0.1325, allocations: 1.548 MB / 0.9385 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005114/0.133, allocations: 410.8 kB / 0.9389 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006165/0.1336, allocations: 0.7835 MB / 0.9396 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.134, allocations: 434.6 kB / 0.94 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.1343, allocations: 128 kB / 0.9402 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005663/0.1348, allocations: 0.4916 MB / 0.9406 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.135, allocations: 334.9 kB / 0.941 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.1353, allocations: 414.9 kB / 0.9414 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.1364, allocations: 1.323 MB / 0.9426 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1364, allocations: 0 / 0.9426 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.72e-07/0.1364, allocations: 0 / 0.9426 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.1364, allocations: 0 / 0.9426 GB, free: 12.69 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001523/0.1379, allocations: 1.591 MB / 0.9442 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.1379, allocations: 8.031 kB / 0.9442 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007996/0.1387, allocations: 335.5 kB / 0.9445 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007589/0.1395, allocations: 0.748 MB / 0.9453 GB, free: 9.945 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.1395, allocations: 74.12 kB / 0.9453 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.1397, allocations: 92 kB / 0.9454 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009454/0.1406, allocations: 1.044 MB / 0.9464 GB, free: 8.621 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.1406, allocations: 3.938 kB / 0.9464 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.1407, allocations: 44 kB / 0.9465 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.1407, allocations: 20 kB / 0.9465 GB, free: 8.555 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.1417, allocations: 0.8075 MB / 0.9473 GB, free: 7.742 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.1441, allocations: 2.438 MB / 0.9497 GB, free: 5.238 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/0.1449, allocations: 0.5422 MB / 0.9502 GB, free: 4.695 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.1451, allocations: 192.1 kB / 0.9504 GB, free: 4.504 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.048e-05/0.1452, allocations: 32.91 kB / 0.9504 GB, free: 4.473 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004769/0.1457, allocations: 0.5106 MB / 0.9509 GB, free: 3.914 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=93): time 1.903e-06/0.1457, allocations: 0 / 0.9509 GB, free: 3.914 MB / 0.9011 GB Notification: Performance of matching and sorting (n=93): time 0.001545/0.1472, allocations: 0.8938 MB / 0.9518 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.1473, allocations: 196.9 kB / 0.952 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/0.1478, allocations: 0.601 MB / 0.9526 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.1478, allocations: 53.69 kB / 0.9526 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.148, allocations: 476 kB / 0.9531 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.1482, allocations: 317.3 kB / 0.9534 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.1484, allocations: 192.2 kB / 0.9536 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002957/0.1487, allocations: 0.5703 MB / 0.9541 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.1489, allocations: 145.9 kB / 0.9542 GB, free: 408 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.1493, allocations: 397.9 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.1498, allocations: 427.1 kB / 0.955 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1498, allocations: 0 / 0.955 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001011/0.1508, allocations: 0.7152 MB / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1508, allocations: 8 kB / 0.9557 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1508, allocations: 0 / 0.9557 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004571/0.1513, allocations: 127.7 kB / 0.9559 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.1517, allocations: 191.7 kB / 0.956 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.1529, allocations: 1.905 MB / 0.9579 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.1532, allocations: 83.56 kB / 0.958 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.1533, allocations: 39.97 kB / 0.958 GB, free: 12.32 MB / 0.9167 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 (113): * Single equations (assignments): 112 * 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.0001926/0.1535, allocations: 215.1 kB / 0.9582 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.1536, allocations: 127.3 kB / 0.9584 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.1548, allocations: 0.8814 MB / 0.9592 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1548, allocations: 8 kB / 0.9592 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1548, allocations: 4 kB / 0.9592 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.1548, allocations: 7.969 kB / 0.9592 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.1566, allocations: 1.702 MB / 0.9609 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1566, allocations: 0 / 0.9609 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/0.1572, allocations: 159.8 kB / 0.961 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003434/0.1575, allocations: 119.6 kB / 0.9612 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.1575, allocations: 27.97 kB / 0.9612 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.1586, allocations: 1.922 MB / 0.9631 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1586, allocations: 0 / 0.9631 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.1599, allocations: 1.097 MB / 0.9641 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.1601, allocations: 207.1 kB / 0.9643 GB, free: 5.613 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/0.1602, allocations: 23.94 kB / 0.9644 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.1605, allocations: 47.95 kB / 0.9644 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.931e-05/0.1606, allocations: 72.86 kB / 0.9645 GB, free: 5.473 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.1606, allocations: 39.97 kB / 0.9645 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002991/0.1609, allocations: 411 kB / 0.9649 GB, free: 5.035 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.1609, allocations: 0 / 0.9649 GB, free: 5.035 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005325/0.1614, allocations: 363.1 kB / 0.9652 GB, free: 4.68 MB / 0.9167 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 (104): * Single equations (assignments): 93 * 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.001182/0.1626, allocations: 0.6139 MB / 0.9658 GB, free: 4.23 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008638/0.1635, allocations: 0.703 MB / 0.9665 GB, free: 3.504 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1635, allocations: 0 / 0.9665 GB, free: 3.504 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004642/0.1639, allocations: 0.4933 MB / 0.967 GB, free: 2.988 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007081/0.1647, allocations: 330.4 kB / 0.9673 GB, free: 2.688 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.1671, allocations: 1.736 MB / 0.969 GB, free: 0.9141 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.1673, allocations: 203 kB / 0.9692 GB, free: 0.6953 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004199/0.1677, allocations: 263 kB / 0.9695 GB, free: 444 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.1679, allocations: 112.5 kB / 0.9696 GB, free: 332 kB / 0.9167 GB Notification: Performance of SimCode: time 8.21e-07/0.1679, allocations: 0 / 0.9696 GB, free: 332 kB / 0.9167 GB Notification: Performance of Templates: time 0.02269/0.1906, allocations: 16.15 MB / 0.9853 GB, free: 464 kB / 0.9324 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.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.7054550289176404]