Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.944/2.944, allocations: 436.5 MB / 0.7104 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005492/0.0005494, allocations: 8 kB / 0.8707 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8814/0.8819, allocations: 153.7 MB / 1.021 GB, free: 1.141 MB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006377/0.8884, allocations: 3.959 MB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1617/1.05, allocations: 127.6 MB / 1.149 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009308/1.051, allocations: 23.88 kB / 1.149 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004518/1.052, allocations: 75.33 kB / 1.149 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002007/1.054, allocations: 0.513 MB / 1.15 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/1.056, allocations: 0.6269 MB / 1.15 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001569/1.057, allocations: 0.8643 MB / 1.151 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007645/1.058, allocations: 495.8 kB / 1.152 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000608/1.059, allocations: 354.5 kB / 1.152 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/1.059, allocations: 358.1 kB / 1.152 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.635e-05/1.059, allocations: 28 kB / 1.152 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008567/1.06, allocations: 315.6 kB / 1.153 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002276/1.06, allocations: 183.2 kB / 1.153 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002058/1.06, allocations: 209.1 kB / 1.153 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/1.062, allocations: 1.204 MB / 1.154 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/1.062, allocations: 4 kB / 1.154 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.425e-06/1.062, allocations: 0 / 1.154 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.534e-05/1.062, allocations: 0 / 1.154 GB, free: 8.047 MB / 0.9044 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.002548/1.064, allocations: 1.271 MB / 1.156 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/1.064, allocations: 12.03 kB / 1.156 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/1.065, allocations: 202.4 kB / 1.156 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/1.067, allocations: 0.7388 MB / 1.156 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.495e-05/1.067, allocations: 70 kB / 1.157 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/1.067, allocations: 84 kB / 1.157 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/1.068, allocations: 0.9379 MB / 1.158 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/1.068, allocations: 0 / 1.158 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/1.069, allocations: 39.98 kB / 1.158 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/1.069, allocations: 24 kB / 1.158 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/1.07, allocations: 1.136 MB / 1.159 GB, free: 3.406 MB / 0.9044 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.004316/1.075, allocations: 2.679 MB / 1.161 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/1.076, allocations: 0.8515 MB / 1.162 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.043e-05/1.076, allocations: 36.67 kB / 1.162 GB, free: 15.76 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009411/1.077, allocations: 0.5002 MB / 1.163 GB, free: 15.24 MB / 0.92 GB Notification: Performance of pre-optimization done (n=85): time 3.256e-06/1.077, allocations: 0 / 1.163 GB, free: 15.24 MB / 0.92 GB Notification: Performance of matching and sorting (n=85): time 0.003067/1.08, allocations: 1.248 MB / 1.164 GB, free: 13.97 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/1.08, allocations: 188.9 kB / 1.164 GB, free: 13.74 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009016/1.081, allocations: 0.6412 MB / 1.165 GB, free: 13.09 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.79e-05/1.081, allocations: 45.7 kB / 1.165 GB, free: 13.04 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/1.082, allocations: 412.4 kB / 1.165 GB, free: 12.62 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/1.082, allocations: 280 kB / 1.165 GB, free: 12.35 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/1.082, allocations: 16 kB / 1.165 GB, free: 12.33 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.082, allocations: 390.7 kB / 1.166 GB, free: 11.94 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/1.083, allocations: 257.9 kB / 1.166 GB, free: 11.69 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005949/1.083, allocations: 366.6 kB / 1.166 GB, free: 11.31 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/1.084, allocations: 294.9 kB / 1.167 GB, free: 11.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.084, allocations: 4 kB / 1.167 GB, free: 11.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001928/1.086, allocations: 0.8408 MB / 1.168 GB, free: 10.16 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/1.086, allocations: 8 kB / 1.168 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.086, allocations: 3.984 kB / 1.168 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/1.087, allocations: 84.86 kB / 1.168 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006815/1.087, allocations: 167.8 kB / 1.168 GB, free: 9.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/1.089, allocations: 1.539 MB / 1.169 GB, free: 8.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/1.09, allocations: 103.9 kB / 1.169 GB, free: 8.125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.981e-05/1.09, allocations: 31.97 kB / 1.169 GB, free: 8.094 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005671/1.091, allocations: 269.6 kB / 1.17 GB, free: 7.82 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/1.091, allocations: 82.97 kB / 1.17 GB, free: 7.738 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/1.093, allocations: 1.105 MB / 1.171 GB, free: 6.625 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/1.093, allocations: 11.94 kB / 1.171 GB, free: 6.613 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.094, allocations: 11.95 kB / 1.171 GB, free: 6.602 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.094, allocations: 3.984 kB / 1.171 GB, free: 6.598 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/1.095, allocations: 0.9308 MB / 1.172 GB, free: 5.617 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.095, allocations: 0 / 1.172 GB, free: 5.617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/1.095, allocations: 159.8 kB / 1.172 GB, free: 5.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004926/1.096, allocations: 84.77 kB / 1.172 GB, free: 5.375 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/1.096, allocations: 23.98 kB / 1.172 GB, free: 5.352 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/1.098, allocations: 1.567 MB / 1.174 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.098, allocations: 0 / 1.174 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/1.101, allocations: 1.367 MB / 1.175 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005271/1.101, allocations: 303.6 kB / 1.175 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.101, allocations: 20 kB / 1.175 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006326/1.102, allocations: 82.75 kB / 1.175 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.102, allocations: 72.89 kB / 1.175 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/1.102, allocations: 35.97 kB / 1.175 GB, free: 1.73 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006284/1.103, allocations: 467 kB / 1.176 GB, free: 1.277 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.103, allocations: 3.938 kB / 1.176 GB, free: 1.273 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009477/1.104, allocations: 315.2 kB / 1.176 GB, free: 0.9648 MB / 0.92 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001434/1.105, allocations: 0.5979 MB / 1.177 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001767/1.107, allocations: 0.8236 MB / 1.177 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.107, allocations: 0 / 1.177 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009685/1.108, allocations: 0.5314 MB / 1.178 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/1.109, allocations: 252.7 kB / 1.178 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/1.114, allocations: 2.413 MB / 1.181 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/1.115, allocations: 1.066 MB / 1.182 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009918/1.116, allocations: 262.9 kB / 1.182 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/1.116, allocations: 115.3 kB / 1.182 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of SimCode: time 3.065e-06/1.116, allocations: 0 / 1.182 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of Templates: time 0.02479/1.141, allocations: 13.87 MB / 1.196 GB, free: 13.29 MB / 0.9513 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches