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.001135/0.001135, allocations: 110.1 kB / 16.37 MB, free: 5.984 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.001225/0.001225, allocations: 194.5 kB / 17.31 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.411/2.411, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 60.72 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2946, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006435/0.3011, allocations: 5.128 MB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6132/0.9144, allocations: 150.6 MB / 1.179 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007599/0.9152, allocations: 15.25 kB / 1.179 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005409/0.9157, allocations: 190.4 kB / 1.179 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.9175, allocations: 0.56 MB / 1.18 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.9195, allocations: 0.8444 MB / 1.18 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.9211, allocations: 1.422 MB / 1.182 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008318/0.922, allocations: 0.5955 MB / 1.182 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006849/0.9227, allocations: 499 kB / 1.183 GB, free: 4.238 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005782/0.9233, allocations: 0.5113 MB / 1.183 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.9234, allocations: 118 kB / 1.183 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000914/0.9243, allocations: 492.2 kB / 1.184 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.9246, allocations: 306 kB / 1.184 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005352/0.9252, allocations: 0.568 MB / 1.185 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.9269, allocations: 1.662 MB / 1.186 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.9269, allocations: 0.9375 kB / 1.186 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9269, allocations: 3.938 kB / 1.186 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.9269, allocations: 0 / 1.186 GB, free: 1.84 MB / 0.8887 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.002417/0.9293, allocations: 1.459 MB / 1.188 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.9294, allocations: 13.47 kB / 1.188 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008763/0.9303, allocations: 189.4 kB / 1.188 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.9315, allocations: 0.7819 MB / 1.189 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/0.9315, allocations: 68.33 kB / 1.189 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.9317, allocations: 84.22 kB / 1.189 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.9332, allocations: 0.9331 MB / 1.19 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.9332, allocations: 0 / 1.19 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.9333, allocations: 41.11 kB / 1.19 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.9333, allocations: 28.89 kB / 1.19 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.9351, allocations: 1.119 MB / 1.191 GB, free: 14.73 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.004151/0.9392, allocations: 2.725 MB / 1.194 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.9407, allocations: 0.812 MB / 1.194 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005052/0.9412, allocations: 315.8 kB / 1.195 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.689e-05/0.9413, allocations: 28.08 kB / 1.195 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007865/0.9421, allocations: 0.4945 MB / 1.195 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 2.164e-06/0.9421, allocations: 0 / 1.195 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=82): time 0.003091/0.9452, allocations: 1.208 MB / 1.196 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.9453, allocations: 188.2 kB / 1.197 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007971/0.9461, allocations: 0.6398 MB / 1.197 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.951e-05/0.9462, allocations: 41.67 kB / 1.197 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.9465, allocations: 416.7 kB / 1.198 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.9467, allocations: 267.4 kB / 1.198 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.947, allocations: 163.7 kB / 1.198 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.9472, allocations: 385.8 kB / 1.198 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.9477, allocations: 276.9 kB / 1.199 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005834/0.9482, allocations: 369.8 kB / 1.199 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.9493, allocations: 0.61 MB / 1.2 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9493, allocations: 4 kB / 1.2 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001831/0.9511, allocations: 0.8553 MB / 1.201 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.9512, allocations: 9 kB / 1.201 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.9512, allocations: 1.781 kB / 1.201 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005787/0.9518, allocations: 87.95 kB / 1.201 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/0.9524, allocations: 165.7 kB / 1.201 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.9545, allocations: 1.628 MB / 1.202 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000743/0.9552, allocations: 104.2 kB / 1.202 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/0.9553, allocations: 35.72 kB / 1.202 GB, free: 6.418 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (97): * Single equations (assignments): 96 * 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.0004263/0.9557, allocations: 281.9 kB / 1.203 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.9559, allocations: 79.59 kB / 1.203 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.9581, allocations: 1.069 MB / 1.204 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.9581, allocations: 10.06 kB / 1.204 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.9581, allocations: 0 / 1.204 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.9581, allocations: 6.578 kB / 1.204 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.9592, allocations: 0.8984 MB / 1.205 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.9592, allocations: 0 / 1.205 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006075/0.9598, allocations: 162.2 kB / 1.205 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004245/0.9602, allocations: 73.16 kB / 1.205 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.9603, allocations: 27.77 kB / 1.205 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.9621, allocations: 1.661 MB / 1.207 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.9621, allocations: 3.938 kB / 1.207 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.9646, allocations: 1.33 MB / 1.208 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/0.9652, allocations: 275.3 kB / 1.208 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.9654, allocations: 16.59 kB / 1.208 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000626/0.966, allocations: 66.62 kB / 1.208 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.9662, allocations: 77.64 kB / 1.208 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/0.9662, allocations: 34.88 kB / 1.208 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005125/0.9667, allocations: 466.3 kB / 1.209 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9668, allocations: 0 / 1.209 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000806/0.9676, allocations: 333.3 kB / 1.209 GB, free: 1.742 MB / 0.9044 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 (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.001246/0.9688, allocations: 0.6053 MB / 1.21 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.9704, allocations: 0.8363 MB / 1.211 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9704, allocations: 0 / 1.211 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000886/0.9713, allocations: 0.5198 MB / 1.211 GB, free: 56 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.9724, allocations: 305.7 kB / 1.211 GB, free: 15.78 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.9752, allocations: 1.775 MB / 1.213 GB, free: 13.98 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.9758, allocations: 1.039 MB / 1.214 GB, free: 12.91 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007123/0.9765, allocations: 254.8 kB / 1.214 GB, free: 12.66 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.9768, allocations: 111.4 kB / 1.214 GB, free: 12.55 MB / 0.92 GB Notification: Performance of SimCode: time 4.41e-07/0.9768, allocations: 0 / 1.214 GB, free: 12.55 MB / 0.92 GB Notification: Performance of Templates: time 0.02369/1, allocations: 15.26 MB / 1.229 GB, free: 13.46 MB / 0.9356 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches