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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.0016/0.0016, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 64.86 kB / 0.912 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3082, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006866/0.3151, allocations: 4.923 MB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1529/0.4681, allocations: 150.6 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007103/0.4688, allocations: 15.94 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005276/0.4693, allocations: 190.2 kB / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.4709, allocations: 0.5545 MB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.4727, allocations: 0.8212 MB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.474, allocations: 1.362 MB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000766/0.4747, allocations: 0.5732 MB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000535/0.4753, allocations: 482.3 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/0.4758, allocations: 0.4939 MB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.476, allocations: 112 kB / 1.225 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007761/0.4768, allocations: 451.7 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.477, allocations: 295.1 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004492/0.4775, allocations: 0.5519 MB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.479, allocations: 1.581 MB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.479, allocations: 4 kB / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.479, allocations: 0 / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.479, allocations: 0 / 1.227 GB, free: 6.82 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002336/0.4814, allocations: 1.422 MB / 1.229 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4814, allocations: 12.03 kB / 1.229 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009915/0.4824, allocations: 187.4 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.4835, allocations: 0.7266 MB / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.4836, allocations: 73.92 kB / 1.23 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.4837, allocations: 76 kB / 1.23 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.4853, allocations: 0.9114 MB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.4853, allocations: 4 kB / 1.231 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.029e-05/0.4854, allocations: 36 kB / 1.231 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.4854, allocations: 20 kB / 1.231 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.4872, allocations: 1.097 MB / 1.232 GB, free: 2.125 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.003737/0.4909, allocations: 2.771 MB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.4923, allocations: 0.7779 MB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000514/0.4929, allocations: 302.5 kB / 1.236 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.379e-05/0.4929, allocations: 36.59 kB / 1.236 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008329/0.4938, allocations: 483.1 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 2.104e-06/0.4938, allocations: 0 / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.003167/0.497, allocations: 1.174 MB / 1.237 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.68e-05/0.4971, allocations: 192.6 kB / 1.237 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007383/0.4978, allocations: 0.637 MB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.105e-05/0.4979, allocations: 45.7 kB / 1.238 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.4982, allocations: 392.4 kB / 1.238 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.4984, allocations: 256.3 kB / 1.239 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.4986, allocations: 162.5 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4988, allocations: 390.7 kB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/0.4993, allocations: 265.8 kB / 1.239 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006143/0.4999, allocations: 360 kB / 1.24 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.5011, allocations: 0.608 MB / 1.24 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.5011, allocations: 0 / 1.24 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00194/0.503, allocations: 0.8448 MB / 1.241 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.5031, allocations: 4 kB / 1.241 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5031, allocations: 4.125 kB / 1.241 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006292/0.5037, allocations: 80.78 kB / 1.241 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.5044, allocations: 167.7 kB / 1.241 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.5064, allocations: 1.625 MB / 1.243 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007402/0.5072, allocations: 95.25 kB / 1.243 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/0.5073, allocations: 27.98 kB / 1.243 GB, free: 6.043 MB / 0.9981 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.0004107/0.5077, allocations: 276 kB / 1.243 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.5079, allocations: 79.06 kB / 1.244 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.5102, allocations: 1.054 MB / 1.245 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5102, allocations: 8 kB / 1.245 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5102, allocations: 3.938 kB / 1.245 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.5102, allocations: 7.969 kB / 1.245 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009531/0.5112, allocations: 0.8801 MB / 1.245 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5112, allocations: 3.938 kB / 1.245 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005652/0.5118, allocations: 143.8 kB / 1.246 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.5122, allocations: 72.78 kB / 1.246 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.5123, allocations: 19.98 kB / 1.246 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.5142, allocations: 1.662 MB / 1.247 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5142, allocations: 4 kB / 1.247 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.5161, allocations: 0.9162 MB / 1.248 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.5165, allocations: 267.7 kB / 1.248 GB, free: 404 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.5166, allocations: 16 kB / 1.248 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006109/0.5172, allocations: 65.17 kB / 1.249 GB, free: 324 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.5173, allocations: 72.98 kB / 1.249 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/0.5174, allocations: 35.92 kB / 1.249 GB, free: 216 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5209/1.038, allocations: 459.6 kB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.21e-07/1.038, allocations: 0 / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001336/1.04, allocations: 320.5 kB / 1.249 GB, free: 183.5 MB / 0.9981 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.001423/1.041, allocations: 0.5929 MB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002649/1.044, allocations: 1.023 MB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.044, allocations: 4.547 kB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009862/1.045, allocations: 0.5069 MB / 1.251 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/1.046, allocations: 311.2 kB / 1.252 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/1.049, allocations: 1.674 MB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/1.05, allocations: 1.022 MB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000843/1.05, allocations: 264.2 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/1.051, allocations: 106.1 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.051, allocations: 0.6562 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02818/1.079, allocations: 14.99 MB / 1.269 GB, free: 179.9 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches