Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.0008802/0.0008802, allocations: 84.8 kB / 20.75 MB, free: 3.734 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.0009673/0.0009673, 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.9113/0.9113, allocations: 177.1 MB / 204.6 MB, free: 5.289 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.798/1.798, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.662e-05, allocations: 5.266 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004731/0.004748, allocations: 4.744 MB / 0.7646 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.13/0.1347, allocations: 146 MB / 0.9072 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007469/0.1355, allocations: 23.88 kB / 0.9072 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.136, allocations: 190.2 kB / 0.9074 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.1373, allocations: 0.5939 MB / 0.908 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.1387, allocations: 0.8646 MB / 0.9088 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001453/0.1401, allocations: 1.455 MB / 0.9103 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005314/0.1407, allocations: 409.9 kB / 0.9106 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009026/0.1416, allocations: 0.7717 MB / 0.9114 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.142, allocations: 374.8 kB / 0.9118 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.1421, allocations: 112 kB / 0.9119 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007466/0.1429, allocations: 487.4 kB / 0.9123 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.1431, allocations: 291 kB / 0.9126 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.1433, allocations: 375 kB / 0.913 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.1445, allocations: 1.241 MB / 0.9142 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1445, allocations: 0 / 0.9142 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1445, allocations: 0 / 0.9142 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.1445, allocations: 0 / 0.9142 GB, free: 8.309 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00149/0.146, allocations: 1.379 MB / 0.9155 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.146, allocations: 8.031 kB / 0.9155 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007483/0.1468, allocations: 296.2 kB / 0.9158 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006914/0.1475, allocations: 0.5862 MB / 0.9164 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.1475, allocations: 74.12 kB / 0.9165 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003228/0.1478, allocations: 91.98 kB / 0.9165 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006613/0.1485, allocations: 0.8533 MB / 0.9174 GB, free: 4.879 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1485, allocations: 0 / 0.9174 GB, free: 4.879 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.1486, allocations: 39.98 kB / 0.9174 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.1486, allocations: 24 kB / 0.9174 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005656/0.1491, allocations: 0.5635 MB / 0.918 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.1511, allocations: 1.71 MB / 0.9197 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/0.1515, allocations: 396.2 kB / 0.92 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.1517, allocations: 130.8 kB / 0.9202 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.261e-05/0.1517, allocations: 32.62 kB / 0.9202 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.152, allocations: 451 kB / 0.9206 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 1.724e-06/0.152, allocations: 0 / 0.9206 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86): time 0.0009723/0.153, allocations: 0.5615 MB / 0.9212 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.1531, allocations: 196.9 kB / 0.9214 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.1534, allocations: 0.5172 MB / 0.9219 GB, free: 132 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/0.1535, allocations: 53.69 kB / 0.9219 GB, free: 72 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1536, allocations: 334.4 kB / 0.9222 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.1538, allocations: 285.5 kB / 0.9225 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.1539, allocations: 174.5 kB / 0.9227 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.154, allocations: 394.6 kB / 0.923 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1542, allocations: 88.78 kB / 0.9231 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.1546, allocations: 332.4 kB / 0.9234 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.1549, allocations: 326.1 kB / 0.9238 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1549, allocations: 0 / 0.9238 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.000608/0.1556, allocations: 478.9 kB / 0.9242 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1556, allocations: 4 kB / 0.9242 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1556, allocations: 0 / 0.9242 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/0.156, allocations: 124.9 kB / 0.9243 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.1563, allocations: 175.7 kB / 0.9245 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009307/0.1572, allocations: 1.294 MB / 0.9258 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.1575, allocations: 87.52 kB / 0.9259 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.1575, allocations: 27.91 kB / 0.9259 GB, free: 11.81 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 105 * 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.0001796/0.1577, allocations: 175.1 kB / 0.926 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.487e-05/0.1578, allocations: 80.06 kB / 0.9261 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007603/0.1585, allocations: 0.6069 MB / 0.9267 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.1585, allocations: 12 kB / 0.9267 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1585, allocations: 0 / 0.9267 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1585, allocations: 3.984 kB / 0.9267 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.1598, allocations: 1.101 MB / 0.9278 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1598, allocations: 4 kB / 0.9278 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.1601, allocations: 135.8 kB / 0.9279 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002941/0.1603, allocations: 108.8 kB / 0.928 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.1604, allocations: 23.97 kB / 0.9281 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008097/0.1612, allocations: 1.324 MB / 0.9294 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.1612, allocations: 7.875 kB / 0.9294 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005907/0.1618, allocations: 0.5556 MB / 0.9299 GB, free: 7.496 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.162, allocations: 151 kB / 0.9301 GB, free: 7.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.162, allocations: 23.98 kB / 0.9301 GB, free: 7.324 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.1623, allocations: 41.23 kB / 0.9301 GB, free: 7.285 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.1623, allocations: 68.86 kB / 0.9302 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.1624, allocations: 23.98 kB / 0.9302 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004411/0.1628, allocations: 247.4 kB / 0.9304 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1628, allocations: 0 / 0.9304 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005489/0.1634, allocations: 335.2 kB / 0.9308 GB, free: 6.625 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (97): * Single equations (assignments): 86 * 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.001474/0.1648, allocations: 0.7624 MB / 0.9315 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005691/0.1654, allocations: 0.5175 MB / 0.932 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.1654, allocations: 8 kB / 0.932 GB, free: 5.598 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.1657, allocations: 359 kB / 0.9324 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000584/0.1663, allocations: 321.1 kB / 0.9327 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.1681, allocations: 1.516 MB / 0.9341 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.1683, allocations: 194.9 kB / 0.9343 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003459/0.1686, allocations: 178.8 kB / 0.9345 GB, free: 2.992 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/0.1691, allocations: 315 kB / 0.9348 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of SimCode: time 7.91e-07/0.1691, allocations: 0 / 0.9348 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of Templates: time 0.01861/0.1877, allocations: 16.86 MB / 0.9513 GB, free: 2.148 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.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.457876409869641]