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.001395/0.001395, 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.001753/0.001753, allocations: 169 kB / 23.02 MB, free: 1.551 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.9358/0.9358, 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.104/2.104, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.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.893e-06/1.893e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.181e-05, allocations: 3.25 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1379/0.1379, allocations: 150.7 MB / 1.025 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.009689/0.1476, allocations: 7.417 MB / 1.033 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1487, allocations: 47.62 kB / 1.033 GB, free: 7.621 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008407/0.1495, allocations: 337.1 kB / 1.033 GB, free: 7.289 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.1519, allocations: 1.204 MB / 1.034 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.154, allocations: 1.192 MB / 1.035 GB, free: 4.883 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002258/0.1563, allocations: 2.46 MB / 1.038 GB, free: 2.414 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.1575, allocations: 1.019 MB / 1.039 GB, free: 1.375 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.1588, allocations: 1.231 MB / 1.04 GB, free: 144 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009747/0.1597, allocations: 0.6827 MB / 1.041 GB, free: 15.46 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.1599, allocations: 160 kB / 1.041 GB, free: 15.31 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.1611, allocations: 0.8576 MB / 1.042 GB, free: 14.45 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.1614, allocations: 466.5 kB / 1.042 GB, free: 13.99 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.1619, allocations: 0.5494 MB / 1.043 GB, free: 13.44 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.1638, allocations: 1.763 MB / 1.044 GB, free: 11.67 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1638, allocations: 0 / 1.044 GB, free: 11.67 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1638, allocations: 0 / 1.044 GB, free: 11.67 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.43e-05/0.1638, allocations: 0 / 1.044 GB, free: 11.67 MB / 1.01 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.002115/0.1659, allocations: 1.976 MB / 1.046 GB, free: 9.645 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.166, allocations: 11.97 kB / 1.046 GB, free: 9.633 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.1673, allocations: 0.4951 MB / 1.047 GB, free: 9.137 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.1684, allocations: 0.9735 MB / 1.048 GB, free: 8.133 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/0.1685, allocations: 86.23 kB / 1.048 GB, free: 8.047 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.1686, allocations: 131.9 kB / 1.048 GB, free: 7.918 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.1699, allocations: 1.289 MB / 1.049 GB, free: 6.457 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.1699, allocations: 7.953 kB / 1.049 GB, free: 6.449 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.864e-05/0.1699, allocations: 48 kB / 1.049 GB, free: 6.402 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.17, allocations: 38.17 kB / 1.049 GB, free: 6.363 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.171, allocations: 0.8944 MB / 1.05 GB, free: 5.457 MB / 1.01 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.003288/0.1743, allocations: 3.039 MB / 1.053 GB, free: 2.344 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009281/0.1753, allocations: 0.646 MB / 1.054 GB, free: 1.695 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.1756, allocations: 228 kB / 1.054 GB, free: 1.469 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.243e-05/0.1756, allocations: 40.91 kB / 1.054 GB, free: 1.43 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005941/0.1762, allocations: 0.6617 MB / 1.055 GB, free: 0.6953 MB / 1.01 GB Notification: Performance of pre-optimization done (n=110): time 2.034e-06/0.1762, allocations: 0 / 1.055 GB, free: 0.6953 MB / 1.01 GB Notification: Performance of matching and sorting (n=110): time 0.4459/0.6221, allocations: 1.019 MB / 1.056 GB, free: 73.21 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/0.6222, allocations: 200.1 kB / 1.056 GB, free: 72.99 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/0.6231, allocations: 0.7627 MB / 1.056 GB, free: 72.8 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.6232, allocations: 51.14 kB / 1.057 GB, free: 72.77 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/0.6236, allocations: 0.593 MB / 1.057 GB, free: 72.64 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.6239, allocations: 379.5 kB / 1.057 GB, free: 72.47 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.6241, allocations: 222.3 kB / 1.058 GB, free: 72.44 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.6242, allocations: 0.5268 MB / 1.058 GB, free: 71.96 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.6245, allocations: 178.7 kB / 1.058 GB, free: 71.96 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.6249, allocations: 483.6 kB / 1.059 GB, free: 71.66 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.6256, allocations: 0.5451 MB / 1.059 GB, free: 71.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6256, allocations: 0 / 1.059 GB, free: 71.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001213/0.6268, allocations: 0.8565 MB / 1.06 GB, free: 71.39 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.6268, allocations: 11.06 kB / 1.06 GB, free: 71.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6268, allocations: 3.469 kB / 1.06 GB, free: 71.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004712/0.6273, allocations: 128.7 kB / 1.06 GB, free: 71.38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.6278, allocations: 241.9 kB / 1.061 GB, free: 71.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.6289, allocations: 1.904 MB / 1.062 GB, free: 69.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.6294, allocations: 97.78 kB / 1.062 GB, free: 69.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.6295, allocations: 47.8 kB / 1.063 GB, free: 69.6 MB / 1.01 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.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 (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.0002365/0.6297, allocations: 232 kB / 1.063 GB, free: 69.43 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.6299, allocations: 159 kB / 1.063 GB, free: 69.37 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.6311, allocations: 0.962 MB / 1.064 GB, free: 69.28 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.6311, allocations: 14.25 kB / 1.064 GB, free: 69.28 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6311, allocations: 7.875 kB / 1.064 GB, free: 69.27 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.6311, allocations: 6.516 kB / 1.064 GB, free: 69.27 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.6332, allocations: 1.961 MB / 1.066 GB, free: 68.86 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6332, allocations: 3.094 kB / 1.066 GB, free: 68.86 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.6337, allocations: 207.9 kB / 1.066 GB, free: 68.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003379/0.634, allocations: 117.9 kB / 1.066 GB, free: 68.85 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.6341, allocations: 34.64 kB / 1.066 GB, free: 68.85 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008919/0.635, allocations: 1.922 MB / 1.068 GB, free: 67.09 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.635, allocations: 5.969 kB / 1.068 GB, free: 67.09 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.6364, allocations: 1.221 MB / 1.069 GB, free: 66.79 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.6367, allocations: 250.9 kB / 1.069 GB, free: 66.73 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-05/0.6368, allocations: 30.27 kB / 1.069 GB, free: 66.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.6372, allocations: 52.84 kB / 1.07 GB, free: 66.73 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.6373, allocations: 92.09 kB / 1.07 GB, free: 66.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.6373, allocations: 43.72 kB / 1.07 GB, free: 66.72 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003802/0.6377, allocations: 499.9 kB / 1.07 GB, free: 66.59 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6377, allocations: 0 / 1.07 GB, free: 66.59 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007975/0.6385, allocations: 452.3 kB / 1.071 GB, free: 66.56 MB / 1.01 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.001287/0.6398, allocations: 0.6394 MB / 1.071 GB, free: 66.43 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009988/0.6408, allocations: 0.792 MB / 1.072 GB, free: 66.22 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6408, allocations: 2.875 kB / 1.072 GB, free: 66.22 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.6413, allocations: 0.5257 MB / 1.072 GB, free: 66.03 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.6424, allocations: 0.5145 MB / 1.073 GB, free: 65.97 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.6453, allocations: 2.186 MB / 1.075 GB, free: 65.03 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.6454, allocations: 252.4 kB / 1.075 GB, free: 64.95 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006049/0.646, allocations: 317.3 kB / 1.076 GB, free: 64.89 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.6463, allocations: 133.6 kB / 1.076 GB, free: 64.88 MB / 1.01 GB Notification: Performance of SimCode: time 8.62e-07/0.6463, allocations: 1 kB / 1.076 GB, free: 64.88 MB / 1.01 GB Notification: Performance of Templates: time 0.02862/0.6749, allocations: 22.07 MB / 1.097 GB, free: 62.66 MB / 1.01 GB " [Timeout remaining time 299] 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 -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.730355946812779]