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.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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000949/0.000949, allocations: 100.3 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.0009789/0.000979, allocations: 177.3 kB / 15.95 MB, free: 216 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.464/1.464, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.722/2.722, allocations: 436.5 MB / 0.7104 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003728, allocations: 12 kB / 0.8707 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9389/0.9393, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005934/0.9453, allocations: 3.873 MB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1824/1.128, allocations: 127.5 MB / 1.149 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/1.129, allocations: 15.94 kB / 1.149 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004333/1.129, allocations: 83.2 kB / 1.149 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001876/1.131, allocations: 0.5013 MB / 1.15 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002027/1.133, allocations: 0.63 MB / 1.15 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001474/1.135, allocations: 0.841 MB / 1.151 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000735/1.135, allocations: 487.6 kB / 1.152 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005263/1.136, allocations: 342.5 kB / 1.152 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004274/1.136, allocations: 350.2 kB / 1.152 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.447e-05/1.136, allocations: 28 kB / 1.152 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008508/1.137, allocations: 307.6 kB / 1.153 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002086/1.137, allocations: 187.2 kB / 1.153 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001781/1.138, allocations: 209.1 kB / 1.153 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/1.139, allocations: 1.169 MB / 1.154 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/1.139, allocations: 0 / 1.154 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.404e-06/1.139, allocations: 4 kB / 1.154 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.941e-05/1.139, allocations: 0 / 1.154 GB, free: 8.223 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002354/1.141, allocations: 1.252 MB / 1.155 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.141, allocations: 15.98 kB / 1.155 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009043/1.142, allocations: 198.4 kB / 1.156 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/1.143, allocations: 0.7312 MB / 1.156 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.063e-05/1.143, allocations: 65.98 kB / 1.156 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/1.144, allocations: 83.91 kB / 1.156 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/1.145, allocations: 0.93 MB / 1.157 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/1.145, allocations: 0 / 1.157 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.635e-05/1.145, allocations: 39.98 kB / 1.157 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/1.145, allocations: 20 kB / 1.157 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/1.147, allocations: 1.128 MB / 1.158 GB, free: 3.633 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.004318/1.151, allocations: 2.636 MB / 1.161 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/1.153, allocations: 0.8161 MB / 1.162 GB, free: 100 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.496e-05/1.153, allocations: 32.59 kB / 1.162 GB, free: 68 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008841/1.154, allocations: 495.2 kB / 1.162 GB, free: 15.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 2.124e-06/1.154, allocations: 0 / 1.162 GB, free: 15.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.002977/1.157, allocations: 1.21 MB / 1.164 GB, free: 14.32 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.157, allocations: 188.6 kB / 1.164 GB, free: 14.1 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008081/1.158, allocations: 0.6333 MB / 1.164 GB, free: 13.45 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.643e-05/1.158, allocations: 45.7 kB / 1.164 GB, free: 13.4 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/1.158, allocations: 412.3 kB / 1.165 GB, free: 12.99 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000248/1.158, allocations: 272 kB / 1.165 GB, free: 12.72 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/1.158, allocations: 16 kB / 1.165 GB, free: 12.71 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002022/1.159, allocations: 390.8 kB / 1.165 GB, free: 12.32 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004871/1.159, allocations: 245.9 kB / 1.166 GB, free: 12.08 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/1.16, allocations: 358.5 kB / 1.166 GB, free: 11.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/1.16, allocations: 294.9 kB / 1.166 GB, free: 11.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.16, allocations: 0 / 1.166 GB, free: 11.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001754/1.162, allocations: 0.8136 MB / 1.167 GB, free: 10.59 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.162, allocations: 4 kB / 1.167 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.162, allocations: 4.094 kB / 1.167 GB, free: 10.58 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005755/1.163, allocations: 84.77 kB / 1.167 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/1.163, allocations: 163.8 kB / 1.167 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/1.165, allocations: 1.532 MB / 1.169 GB, free: 8.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/1.166, allocations: 103.9 kB / 1.169 GB, free: 8.562 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/1.166, allocations: 27.98 kB / 1.169 GB, free: 8.535 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 (89): * Single equations (assignments): 88 * 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.0005141/1.167, allocations: 269.6 kB / 1.169 GB, free: 8.262 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/1.167, allocations: 82.97 kB / 1.169 GB, free: 8.18 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/1.169, allocations: 1.085 MB / 1.17 GB, free: 7.086 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.169, allocations: 12 kB / 1.17 GB, free: 7.074 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/1.169, allocations: 0 / 1.17 GB, free: 7.074 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.169, allocations: 3.984 kB / 1.17 GB, free: 7.07 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/1.17, allocations: 0.9151 MB / 1.171 GB, free: 6.102 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.17, allocations: 4 kB / 1.171 GB, free: 6.098 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/1.171, allocations: 159.8 kB / 1.171 GB, free: 5.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005035/1.171, allocations: 80.81 kB / 1.171 GB, free: 5.859 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/1.171, allocations: 31.97 kB / 1.171 GB, free: 5.828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/1.173, allocations: 1.552 MB / 1.173 GB, free: 4.137 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.173, allocations: 0 / 1.173 GB, free: 4.137 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/1.176, allocations: 1.34 MB / 1.174 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/1.176, allocations: 287.6 kB / 1.175 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/1.176, allocations: 23.95 kB / 1.175 GB, free: 2.449 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/1.177, allocations: 82.75 kB / 1.175 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/1.177, allocations: 72.89 kB / 1.175 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.286e-05/1.177, allocations: 35.97 kB / 1.175 GB, free: 2.266 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006161/1.178, allocations: 467 kB / 1.175 GB, free: 1.812 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/1.178, allocations: 0 / 1.175 GB, free: 1.812 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009232/1.179, allocations: 315.2 kB / 1.176 GB, free: 1.504 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 (93): * Single equations (assignments): 87 * 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.001347/1.18, allocations: 0.5862 MB / 1.176 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001589/1.182, allocations: 0.808 MB / 1.177 GB, free: 276 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/1.182, allocations: 3.984 kB / 1.177 GB, free: 272 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008715/1.183, allocations: 0.5237 MB / 1.177 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/1.184, allocations: 236.3 kB / 1.178 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/1.188, allocations: 2.349 MB / 1.18 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/1.189, allocations: 1.047 MB / 1.181 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008532/1.189, allocations: 270.6 kB / 1.181 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/1.19, allocations: 107.4 kB / 1.181 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of SimCode: time 6.61e-07/1.19, allocations: 0 / 1.181 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.02529/1.215, allocations: 13.71 MB / 1.195 GB, free: 14.12 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches