Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009162/0.0009162, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009153/0.0009153, allocations: 173 kB / 23.03 MB, free: 1.543 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.9764/0.9764, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.076/2.076, allocations: 429.5 MB / 0.6733 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.544e-05, allocations: 3.219 kB / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00534/0.005365, allocations: 5.037 MB / 0.8831 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1254/0.1308, allocations: 146.6 MB / 1.026 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000704/0.1315, allocations: 27.81 kB / 1.026 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005493/0.1321, allocations: 202.1 kB / 1.026 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.1336, allocations: 0.5978 MB / 1.027 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.1352, allocations: 0.8802 MB / 1.028 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.1367, allocations: 1.509 MB / 1.029 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006505/0.1373, allocations: 402.9 kB / 1.03 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.1386, allocations: 0.7991 MB / 1.031 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005778/0.1392, allocations: 390.8 kB / 1.031 GB, free: 9.348 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.1394, allocations: 116 kB / 1.031 GB, free: 9.234 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.1405, allocations: 0.4914 MB / 1.031 GB, free: 8.742 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.1407, allocations: 303 kB / 1.032 GB, free: 8.445 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003791/0.1411, allocations: 391 kB / 1.032 GB, free: 8.062 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.1428, allocations: 1.261 MB / 1.033 GB, free: 6.797 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1428, allocations: 4 kB / 1.033 GB, free: 6.793 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1428, allocations: 0 / 1.033 GB, free: 6.793 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.53e-05/0.1428, allocations: 0 / 1.033 GB, free: 6.793 MB / 0.9948 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.002096/0.1449, allocations: 1.555 MB / 1.035 GB, free: 5.191 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.145, allocations: 12.03 kB / 1.035 GB, free: 5.18 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009327/0.1459, allocations: 331.5 kB / 1.035 GB, free: 4.855 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008663/0.1468, allocations: 0.7305 MB / 1.036 GB, free: 4.102 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.1468, allocations: 70.12 kB / 1.036 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-05/0.1469, allocations: 95.98 kB / 1.036 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.1481, allocations: 0.9595 MB / 1.037 GB, free: 2.883 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.1481, allocations: 0 / 1.037 GB, free: 2.883 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.1481, allocations: 36 kB / 1.037 GB, free: 2.848 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.1482, allocations: 24 kB / 1.037 GB, free: 2.824 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008978/0.1491, allocations: 0.7958 MB / 1.038 GB, free: 2.023 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.1517, allocations: 2.337 MB / 1.04 GB, free: 15.62 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007835/0.1525, allocations: 0.5132 MB / 1.041 GB, free: 15.1 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.1527, allocations: 188.5 kB / 1.041 GB, free: 14.91 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.234e-05/0.1528, allocations: 36.91 kB / 1.041 GB, free: 14.88 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004766/0.1533, allocations: 0.4911 MB / 1.041 GB, free: 14.34 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 2.725e-06/0.1533, allocations: 0 / 1.041 GB, free: 14.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.001549/0.1548, allocations: 0.8626 MB / 1.042 GB, free: 13.47 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.1549, allocations: 196.9 kB / 1.042 GB, free: 13.23 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.1554, allocations: 0.5816 MB / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.1554, allocations: 49.7 kB / 1.043 GB, free: 12.58 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.1556, allocations: 467.8 kB / 1.043 GB, free: 12.12 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.1558, allocations: 309.4 kB / 1.044 GB, free: 11.82 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/0.1562, allocations: 184.2 kB / 1.044 GB, free: 11.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1563, allocations: 0.5703 MB / 1.044 GB, free: 11.05 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.1565, allocations: 145.9 kB / 1.045 GB, free: 10.91 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.1569, allocations: 393.7 kB / 1.045 GB, free: 10.47 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.1574, allocations: 399.2 kB / 1.045 GB, free: 10.06 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1574, allocations: 0 / 1.045 GB, free: 10.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001003/0.1584, allocations: 0.6918 MB / 1.046 GB, free: 9.359 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1584, allocations: 10.66 kB / 1.046 GB, free: 9.352 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1584, allocations: 0 / 1.046 GB, free: 9.352 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000457/0.1588, allocations: 139.6 kB / 1.046 GB, free: 9.211 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.1592, allocations: 179.7 kB / 1.046 GB, free: 9.035 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.1607, allocations: 1.905 MB / 1.048 GB, free: 7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.161, allocations: 90.55 kB / 1.048 GB, free: 6.914 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.161, allocations: 39.97 kB / 1.048 GB, free: 6.875 MB / 1.01 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.0002392/0.1613, allocations: 219.2 kB / 1.049 GB, free: 6.652 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.1614, allocations: 119.4 kB / 1.049 GB, free: 6.535 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.1626, allocations: 0.8461 MB / 1.049 GB, free: 5.668 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.1626, allocations: 11.94 kB / 1.049 GB, free: 5.656 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1626, allocations: 4 kB / 1.05 GB, free: 5.652 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.1626, allocations: 7.969 kB / 1.05 GB, free: 5.645 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.1647, allocations: 1.647 MB / 1.051 GB, free: 3.945 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1647, allocations: 0 / 1.051 GB, free: 3.945 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.165, allocations: 151.8 kB / 1.051 GB, free: 3.797 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003396/0.1653, allocations: 119.6 kB / 1.051 GB, free: 3.676 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.1654, allocations: 31.95 kB / 1.051 GB, free: 3.645 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.1665, allocations: 1.914 MB / 1.053 GB, free: 1.602 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1666, allocations: 3.938 kB / 1.053 GB, free: 1.598 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.1678, allocations: 1.058 MB / 1.054 GB, free: 0.5156 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.1681, allocations: 199.1 kB / 1.055 GB, free: 328 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.986e-05/0.1682, allocations: 31.92 kB / 1.055 GB, free: 296 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.1684, allocations: 39.91 kB / 1.055 GB, free: 256 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.1685, allocations: 76.86 kB / 1.055 GB, free: 180 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.1685, allocations: 27.98 kB / 1.055 GB, free: 152 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.4362/0.6047, allocations: 395.6 kB / 1.055 GB, free: 73.26 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6047, allocations: 0 / 1.055 GB, free: 73.26 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009062/0.6057, allocations: 341.5 kB / 1.055 GB, free: 73.26 MB / 1.01 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 (100): * Single equations (assignments): 89 * 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.001244/0.6069, allocations: 0.6301 MB / 1.056 GB, free: 73.13 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.6079, allocations: 0.6848 MB / 1.057 GB, free: 72.95 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6079, allocations: 0 / 1.057 GB, free: 72.95 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004602/0.6084, allocations: 488.7 kB / 1.057 GB, free: 72.76 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008121/0.6092, allocations: 315.5 kB / 1.057 GB, free: 72.75 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.6116, allocations: 1.636 MB / 1.059 GB, free: 72.04 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.6117, allocations: 200.4 kB / 1.059 GB, free: 71.96 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004945/0.6122, allocations: 267.6 kB / 1.059 GB, free: 71.93 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.6124, allocations: 110.3 kB / 1.06 GB, free: 71.93 MB / 1.01 GB Notification: Performance of SimCode: time 1.372e-06/0.6124, allocations: 1.031 kB / 1.06 GB, free: 71.93 MB / 1.01 GB Notification: Performance of Templates: time 0.01951/0.6319, allocations: 16.68 MB / 1.076 GB, free: 70.38 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.47311874339357]