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.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008325/0.008325, allocations: 109.8 kB / 15.74 MB, free: 6.453 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.001831/0.001831, allocations: 197.3 kB / 16.67 MB, free: 6.352 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.688/2.688, allocations: 461.9 MB / 0.7347 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.91 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3909, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 1.034/1.425, allocations: 166.1 MB / 1.37 GB, free: 1.844 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01252/1.438, allocations: 7.809 MB / 1.378 GB, free: 12.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/1.439, allocations: 34.97 kB / 1.378 GB, free: 12.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/1.441, allocations: 411.1 kB / 1.378 GB, free: 12.03 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003883/1.445, allocations: 1.344 MB / 1.379 GB, free: 11.19 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003275/1.448, allocations: 1.171 MB / 1.38 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003464/1.451, allocations: 2.367 MB / 1.383 GB, free: 8.859 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/1.453, allocations: 1.183 MB / 1.384 GB, free: 8.074 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/1.454, allocations: 0.8394 MB / 1.385 GB, free: 7.566 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/1.456, allocations: 0.7871 MB / 1.385 GB, free: 7.039 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000242/1.456, allocations: 150.6 kB / 1.386 GB, free: 7.039 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002777/1.459, allocations: 1.13 MB / 1.387 GB, free: 6.496 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004674/1.46, allocations: 430.5 kB / 1.387 GB, free: 6.168 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000951/1.46, allocations: 0.7794 MB / 1.388 GB, free: 5.613 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004387/1.465, allocations: 2.402 MB / 1.39 GB, free: 3.945 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.465, allocations: 0 / 1.39 GB, free: 3.945 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.355e-06/1.465, allocations: 0 / 1.39 GB, free: 3.945 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.754e-05/1.465, allocations: 1.344 kB / 1.39 GB, free: 3.945 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004155/1.469, allocations: 1.887 MB / 1.392 GB, free: 2.504 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.469, allocations: 10.22 kB / 1.392 GB, free: 2.504 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/1.471, allocations: 330.5 kB / 1.392 GB, free: 2.348 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/1.473, allocations: 1.01 MB / 1.393 GB, free: 1.555 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.081e-05/1.473, allocations: 87.23 kB / 1.393 GB, free: 1.512 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/1.474, allocations: 107.4 kB / 1.394 GB, free: 1.477 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/1.476, allocations: 1.176 MB / 1.395 GB, free: 0.7109 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/1.476, allocations: 4 kB / 1.395 GB, free: 0.707 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/1.476, allocations: 50.94 kB / 1.395 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.178e-05/1.476, allocations: 38.16 kB / 1.395 GB, free: 0.668 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/1.479, allocations: 1.304 MB / 1.396 GB, free: 40 kB / 1.076 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.006139/1.485, allocations: 3.807 MB / 1.4 GB, free: 12.91 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/1.487, allocations: 0.999 MB / 1.401 GB, free: 12.41 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006658/1.487, allocations: 393.9 kB / 1.401 GB, free: 12.21 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.532e-05/1.487, allocations: 37.52 kB / 1.401 GB, free: 12.19 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/1.488, allocations: 0.5852 MB / 1.402 GB, free: 11.82 MB / 1.092 GB Notification: Performance of pre-optimization done (n=102): time 2.865e-06/1.488, allocations: 4 kB / 1.402 GB, free: 11.82 MB / 1.092 GB Notification: Performance of matching and sorting (n=102): time 0.003798/1.492, allocations: 1.441 MB / 1.403 GB, free: 11.05 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.492, allocations: 195.8 kB / 1.403 GB, free: 10.83 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/1.494, allocations: 0.8298 MB / 1.404 GB, free: 10.35 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/1.494, allocations: 48.8 kB / 1.404 GB, free: 10.3 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004701/1.494, allocations: 0.5256 MB / 1.405 GB, free: 9.832 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.00031/1.494, allocations: 336.7 kB / 1.405 GB, free: 9.539 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/1.495, allocations: 204 kB / 1.405 GB, free: 9.414 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.495, allocations: 346.1 kB / 1.406 GB, free: 9.078 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/1.495, allocations: 333.5 kB / 1.406 GB, free: 8.918 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007454/1.496, allocations: 481.5 kB / 1.406 GB, free: 8.621 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/1.498, allocations: 0.7965 MB / 1.407 GB, free: 8.16 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.498, allocations: 0 / 1.407 GB, free: 8.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002363/1.5, allocations: 1.072 MB / 1.408 GB, free: 7.625 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.5, allocations: 5.344 kB / 1.408 GB, free: 7.625 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.5, allocations: 6.688 kB / 1.408 GB, free: 7.621 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/1.501, allocations: 86.19 kB / 1.408 GB, free: 7.578 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008556/1.502, allocations: 225 kB / 1.408 GB, free: 7.52 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/1.504, allocations: 1.636 MB / 1.41 GB, free: 5.914 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/1.505, allocations: 102.2 kB / 1.41 GB, free: 5.848 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/1.505, allocations: 46.41 kB / 1.41 GB, free: 5.832 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (124): * Single equations (assignments): 123 * 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.000665/1.506, allocations: 320.1 kB / 1.411 GB, free: 5.59 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/1.506, allocations: 123.6 kB / 1.411 GB, free: 5.523 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/1.509, allocations: 1.242 MB / 1.412 GB, free: 4.832 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/1.509, allocations: 10.06 kB / 1.412 GB, free: 4.832 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.509, allocations: 2.125 kB / 1.412 GB, free: 4.832 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/1.509, allocations: 3.984 kB / 1.412 GB, free: 4.828 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/1.51, allocations: 1.166 MB / 1.413 GB, free: 3.859 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.51, allocations: 0 / 1.413 GB, free: 3.859 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008838/1.511, allocations: 207.7 kB / 1.413 GB, free: 3.656 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004479/1.512, allocations: 72.78 kB / 1.413 GB, free: 3.582 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.099e-05/1.512, allocations: 35.97 kB / 1.413 GB, free: 3.547 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/1.514, allocations: 1.658 MB / 1.415 GB, free: 1.746 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.514, allocations: 3.938 kB / 1.415 GB, free: 1.742 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003135/1.517, allocations: 1.578 MB / 1.416 GB, free: 144 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/1.517, allocations: 323.5 kB / 1.417 GB, free: 15.8 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/1.518, allocations: 24 kB / 1.417 GB, free: 15.78 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008558/1.518, allocations: 78.64 kB / 1.417 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/1.519, allocations: 76.89 kB / 1.417 GB, free: 15.63 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.057e-05/1.519, allocations: 43.97 kB / 1.417 GB, free: 15.59 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008155/1.52, allocations: 0.578 MB / 1.418 GB, free: 15 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/1.52, allocations: 0 / 1.418 GB, free: 15 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001278/1.521, allocations: 435 kB / 1.418 GB, free: 14.57 MB / 1.107 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: 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 (113): * Single equations (assignments): 107 * 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.001487/1.522, allocations: 0.6207 MB / 1.419 GB, free: 14.12 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002048/1.524, allocations: 0.9951 MB / 1.42 GB, free: 13.12 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.524, allocations: 4 kB / 1.42 GB, free: 13.11 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/1.525, allocations: 0.5983 MB / 1.42 GB, free: 12.51 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/1.528, allocations: 496.2 kB / 1.421 GB, free: 12.05 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/1.532, allocations: 2.438 MB / 1.423 GB, free: 9.574 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008011/1.533, allocations: 1.154 MB / 1.424 GB, free: 8.391 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001139/1.534, allocations: 325.1 kB / 1.424 GB, free: 8.07 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/1.535, allocations: 123.4 kB / 1.425 GB, free: 7.953 MB / 1.107 GB Notification: Performance of SimCode: time 1.683e-06/1.535, allocations: 0 / 1.425 GB, free: 7.953 MB / 1.107 GB Notification: Performance of Templates: time 0.03574/1.57, allocations: 21.05 MB / 1.445 GB, free: 3.145 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches