Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 119.6 kB / 16.37 MB, free: 6.016 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.001689/0.001689, allocations: 193 kB / 17.31 MB, free: 5.613 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.427/2.427, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.00129, allocations: 71.95 kB / 0.8773 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2925, allocations: 153 MB / 1.027 GB, free: 2.121 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006362/0.2989, allocations: 4.936 MB / 1.032 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6144/0.9134, allocations: 150.6 MB / 1.179 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007109/0.9141, allocations: 23.94 kB / 1.179 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005091/0.9147, allocations: 185.3 kB / 1.179 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.9163, allocations: 0.5454 MB / 1.179 GB, free: 6.352 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.9184, allocations: 0.829 MB / 1.18 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.92, allocations: 1.37 MB / 1.181 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008281/0.9208, allocations: 0.5775 MB / 1.182 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006442/0.9215, allocations: 484.5 kB / 1.183 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006501/0.9221, allocations: 0.4892 MB / 1.183 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.9223, allocations: 114 kB / 1.183 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.9233, allocations: 489.9 kB / 1.184 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.9236, allocations: 284.3 kB / 1.184 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005123/0.9241, allocations: 0.5558 MB / 1.184 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.9259, allocations: 1.611 MB / 1.186 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9259, allocations: 0 / 1.186 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9259, allocations: 0 / 1.186 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.492e-05/0.926, allocations: 1.188 kB / 1.186 GB, free: 2.125 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002475/0.9284, allocations: 1.424 MB / 1.187 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.9285, allocations: 9.219 kB / 1.187 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009182/0.9294, allocations: 182.9 kB / 1.188 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.9306, allocations: 0.7621 MB / 1.188 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/0.9307, allocations: 66.91 kB / 1.188 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-05/0.9308, allocations: 82.45 kB / 1.188 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.9323, allocations: 0.9105 MB / 1.189 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.9323, allocations: 3.984 kB / 1.189 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.9324, allocations: 37.88 kB / 1.189 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.9324, allocations: 19.78 kB / 1.189 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.9341, allocations: 1.089 MB / 1.19 GB, free: 15.08 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.003845/0.9379, allocations: 2.743 MB / 1.193 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.9393, allocations: 0.7807 MB / 1.194 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004601/0.9397, allocations: 301 kB / 1.194 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.34e-05/0.9398, allocations: 32.06 kB / 1.194 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00074/0.9406, allocations: 493.4 kB / 1.195 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=78): time 1.984e-06/0.9406, allocations: 4 kB / 1.195 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=78): time 0.002907/0.9435, allocations: 1.177 MB / 1.196 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.9436, allocations: 192.3 kB / 1.196 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007607/0.9444, allocations: 0.6355 MB / 1.197 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.05e-05/0.9445, allocations: 42.8 kB / 1.197 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.9448, allocations: 403.4 kB / 1.197 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.945, allocations: 243.8 kB / 1.197 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.9452, allocations: 163.3 kB / 1.197 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.9454, allocations: 389.1 kB / 1.198 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.9458, allocations: 266.8 kB / 1.198 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.9464, allocations: 357.7 kB / 1.198 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.9474, allocations: 0.6068 MB / 1.199 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.9474, allocations: 2.594 kB / 1.199 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001787/0.9492, allocations: 0.8406 MB / 1.2 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.9493, allocations: 4.844 kB / 1.2 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.9493, allocations: 0 / 1.2 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005563/0.9498, allocations: 89.69 kB / 1.2 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/0.9504, allocations: 162.2 kB / 1.2 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.9524, allocations: 1.633 MB / 1.202 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/0.9531, allocations: 95.22 kB / 1.202 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/0.9532, allocations: 38.69 kB / 1.202 GB, free: 6.785 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0003888/0.9536, allocations: 274.1 kB / 1.202 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.9537, allocations: 82.66 kB / 1.202 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.9559, allocations: 1.04 MB / 1.203 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.9559, allocations: 8 kB / 1.203 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.9559, allocations: 4 kB / 1.203 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.9559, allocations: 10.61 kB / 1.203 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009414/0.9569, allocations: 0.8794 MB / 1.204 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.9569, allocations: 4 kB / 1.204 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005106/0.9574, allocations: 139.5 kB / 1.204 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004107/0.9578, allocations: 73.97 kB / 1.204 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/0.9579, allocations: 22.7 kB / 1.204 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.9597, allocations: 1.658 MB / 1.206 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.9597, allocations: 5.75 kB / 1.206 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.9615, allocations: 0.9164 MB / 1.207 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.9619, allocations: 271.9 kB / 1.207 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.962, allocations: 16.41 kB / 1.207 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005678/0.9626, allocations: 62.58 kB / 1.207 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.9627, allocations: 69.47 kB / 1.207 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/0.9628, allocations: 38.69 kB / 1.207 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005041/0.9633, allocations: 457 kB / 1.208 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9633, allocations: 0 / 1.208 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007725/0.9641, allocations: 315.9 kB / 1.208 GB, free: 2.383 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001258/0.9654, allocations: 0.6022 MB / 1.209 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.9668, allocations: 0.818 MB / 1.209 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.9669, allocations: 3.984 kB / 1.209 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008452/0.9677, allocations: 0.5115 MB / 1.21 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.9688, allocations: 306.7 kB / 1.21 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.9714, allocations: 1.653 MB / 1.212 GB, free: 15.39 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/0.972, allocations: 1.019 MB / 1.213 GB, free: 14.34 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007721/0.9728, allocations: 274.5 kB / 1.213 GB, free: 14.07 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.9731, allocations: 99.39 kB / 1.213 GB, free: 13.97 MB / 0.92 GB Notification: Performance of SimCode: time 4.61e-07/0.9731, allocations: 0 / 1.213 GB, free: 13.97 MB / 0.92 GB Notification: Performance of Templates: time 0.02324/0.9963, allocations: 15 MB / 1.228 GB, free: 15.13 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches