Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_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.001331/0.001331, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001589/0.001589, allocations: 194.6 kB / 16.25 MB, free: 6.629 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.44/1.44, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.912/2.912, allocations: 469.8 MB / 0.742 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 66.72 kB / 0.908 GB, free: 34.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3204, allocations: 159.2 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.0073/0.3277, allocations: 5.237 MB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1834/0.5112, allocations: 148.4 MB / 1.214 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009669/0.5122, allocations: 15.94 kB / 1.214 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.5128, allocations: 158.8 kB / 1.214 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.5148, allocations: 0.5055 MB / 1.214 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.5169, allocations: 0.7417 MB / 1.215 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001969/0.5189, allocations: 1.447 MB / 1.216 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.5199, allocations: 0.6073 MB / 1.217 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007981/0.5207, allocations: 0.5022 MB / 1.217 GB, free: 360 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006948/0.5214, allocations: 0.5251 MB / 1.218 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.5216, allocations: 123.9 kB / 1.218 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000955/0.5225, allocations: 463.6 kB / 1.218 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.5229, allocations: 307 kB / 1.219 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006009/0.5235, allocations: 0.583 MB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.5256, allocations: 1.655 MB / 1.221 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.5256, allocations: 3.938 kB / 1.221 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5256, allocations: 0 / 1.221 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.5257, allocations: 0 / 1.221 GB, free: 12.7 MB / 0.9825 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.002835/0.5285, allocations: 1.481 MB / 1.222 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5285, allocations: 11.97 kB / 1.222 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009542/0.5295, allocations: 195.3 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.5307, allocations: 0.7662 MB / 1.223 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/0.5308, allocations: 66 kB / 1.223 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.5309, allocations: 84 kB / 1.223 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.5327, allocations: 0.9535 MB / 1.224 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.5327, allocations: 0 / 1.224 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.471e-05/0.5328, allocations: 43.98 kB / 1.224 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.5329, allocations: 24 kB / 1.224 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.5348, allocations: 1.128 MB / 1.226 GB, free: 7.82 MB / 0.9825 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.004722/0.5396, allocations: 2.817 MB / 1.228 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.5413, allocations: 0.8474 MB / 1.229 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006078/0.5419, allocations: 322.7 kB / 1.229 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.773e-05/0.542, allocations: 32.67 kB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009959/0.543, allocations: 0.51 MB / 1.23 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.395e-06/0.543, allocations: 0 / 1.23 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.00351/0.5466, allocations: 1.239 MB / 1.231 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/0.5467, allocations: 204.8 kB / 1.231 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009242/0.5477, allocations: 0.645 MB / 1.232 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-05/0.5477, allocations: 49.69 kB / 1.232 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.5481, allocations: 412.4 kB / 1.232 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.5484, allocations: 276 kB / 1.233 GB, free: 256 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/0.5487, allocations: 170.5 kB / 1.233 GB, free: 76 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002253/0.5489, allocations: 382.8 kB / 1.233 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/0.5495, allocations: 277.8 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007041/0.5502, allocations: 379.1 kB / 1.234 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.5515, allocations: 0.632 MB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5515, allocations: 0 / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0022/0.5537, allocations: 0.8877 MB / 1.235 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5538, allocations: 4 kB / 1.235 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5538, allocations: 4 kB / 1.235 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006382/0.5544, allocations: 84.86 kB / 1.235 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007635/0.5552, allocations: 171.8 kB / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.5576, allocations: 1.634 MB / 1.237 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008722/0.5585, allocations: 101.5 kB / 1.237 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/0.5586, allocations: 39.97 kB / 1.237 GB, free: 11.32 MB / 0.9981 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 (100): * Single equations (assignments): 99 * 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.0005104/0.5592, allocations: 265.3 kB / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.5594, allocations: 90.95 kB / 1.238 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.562, allocations: 1.101 MB / 1.239 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.562, allocations: 8 kB / 1.239 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.562, allocations: 4 kB / 1.239 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.5621, allocations: 7.984 kB / 1.239 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.5634, allocations: 0.9269 MB / 1.24 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5634, allocations: 0 / 1.24 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000685/0.5641, allocations: 159.7 kB / 1.24 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/0.5646, allocations: 76.72 kB / 1.24 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.596e-05/0.5646, allocations: 23.98 kB / 1.24 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/0.5669, allocations: 1.67 MB / 1.242 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5669, allocations: 0 / 1.242 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003011/0.5699, allocations: 1.371 MB / 1.243 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004958/0.5704, allocations: 271.8 kB / 1.243 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.5706, allocations: 27.94 kB / 1.243 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/0.5712, allocations: 67.98 kB / 1.243 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.5714, allocations: 68.91 kB / 1.243 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.87e-05/0.5715, allocations: 35.97 kB / 1.243 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000657/0.5722, allocations: 471 kB / 1.244 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5722, allocations: 0 / 1.244 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009151/0.5731, allocations: 339.2 kB / 1.244 GB, free: 4.113 MB / 0.9981 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 (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.002013/0.5751, allocations: 0.6129 MB / 1.245 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002801/0.5779, allocations: 1.069 MB / 1.246 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.578, allocations: 4 kB / 1.246 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.579, allocations: 0.5276 MB / 1.246 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.5806, allocations: 297 kB / 1.247 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5027/1.083, allocations: 2.287 MB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/1.084, allocations: 1.037 MB / 1.25 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001125/1.085, allocations: 267.3 kB / 1.25 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/1.085, allocations: 105.9 kB / 1.25 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.91e-07/1.085, allocations: 0 / 1.25 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02978/1.115, allocations: 15.32 MB / 1.265 GB, free: 183.1 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches