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.001248/0.001248, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.009116/0.009116, allocations: 169.8 kB / 16.26 MB, free: 6.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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003481, allocations: 8.688 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2941, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1797/0.4739, allocations: 161.6 MB / 1.216 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.4866, allocations: 7.716 MB / 1.224 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.4881, allocations: 31.81 kB / 1.224 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.4894, allocations: 326 kB / 1.224 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003971/0.4934, allocations: 1.182 MB / 1.225 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.4966, allocations: 1.032 MB / 1.227 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003564/0.5002, allocations: 2.554 MB / 1.229 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.5017, allocations: 0.9822 MB / 1.23 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.5028, allocations: 0.6143 MB / 1.231 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.504, allocations: 0.6715 MB / 1.231 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.5042, allocations: 40 kB / 1.231 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.5063, allocations: 1.107 MB / 1.232 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.5067, allocations: 294.8 kB / 1.233 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007125/0.5074, allocations: 0.6619 MB / 1.233 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.5103, allocations: 2.278 MB / 1.235 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5103, allocations: 0 / 1.235 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5103, allocations: 0 / 1.235 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.819e-05/0.5103, allocations: 0 / 1.235 GB, free: 15.75 MB / 0.9981 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.002834/0.5131, allocations: 1.595 MB / 1.237 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5132, allocations: 8.031 kB / 1.237 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.515, allocations: 349.8 kB / 1.237 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.5166, allocations: 0.9795 MB / 1.238 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.075e-05/0.5167, allocations: 86.14 kB / 1.238 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.5169, allocations: 104 kB / 1.239 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.519, allocations: 1.172 MB / 1.24 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.5191, allocations: 4 kB / 1.24 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.5192, allocations: 44 kB / 1.24 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.595e-05/0.5193, allocations: 50.05 kB / 1.24 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.5215, allocations: 1.312 MB / 1.241 GB, free: 9.867 MB / 0.9981 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.005883/0.5274, allocations: 3.88 MB / 1.245 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.5293, allocations: 1.001 MB / 1.246 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007613/0.53, allocations: 403.7 kB / 1.246 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.5302, allocations: 40.95 kB / 1.246 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.5313, allocations: 0.5903 MB / 1.247 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 2.805e-06/0.5313, allocations: 0 / 1.247 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003945/0.5353, allocations: 1.462 MB / 1.248 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.5354, allocations: 192.9 kB / 1.248 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.5367, allocations: 0.8298 MB / 1.249 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.801e-05/0.5368, allocations: 53.7 kB / 1.249 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005115/0.5373, allocations: 0.5198 MB / 1.25 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.5376, allocations: 343 kB / 1.25 GB, free: 228 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.5378, allocations: 85.67 kB / 1.25 GB, free: 136 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.5692/1.107, allocations: 341.9 kB / 1.251 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/1.108, allocations: 336.8 kB / 1.251 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/1.109, allocations: 480.4 kB / 1.251 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/1.111, allocations: 0.8105 MB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/1.111, allocations: 1 kB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003132/1.115, allocations: 1.083 MB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/1.115, allocations: 8.453 kB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.115, allocations: 2.219 kB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/1.115, allocations: 89.08 kB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009293/1.116, allocations: 221.7 kB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/1.118, allocations: 1.524 MB / 1.255 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/1.12, allocations: 126.2 kB / 1.255 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.12, allocations: 43.25 kB / 1.255 GB, free: 189 MB / 0.9981 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.0006638/1.12, allocations: 330.8 kB / 1.255 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/1.121, allocations: 114.8 kB / 1.256 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/1.123, allocations: 1.255 MB / 1.257 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.123, allocations: 10.84 kB / 1.257 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.123, allocations: 3.938 kB / 1.257 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.123, allocations: 10.33 kB / 1.257 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/1.125, allocations: 1.155 MB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.125, allocations: 0 / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008329/1.126, allocations: 215.3 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005336/1.126, allocations: 83.7 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.801e-05/1.126, allocations: 30.95 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/1.128, allocations: 1.549 MB / 1.26 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.128, allocations: 6.375 kB / 1.26 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/1.131, allocations: 1.585 MB / 1.261 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000674/1.132, allocations: 332 kB / 1.262 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/1.132, allocations: 22.42 kB / 1.262 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009371/1.133, allocations: 105.6 kB / 1.262 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/1.133, allocations: 82.25 kB / 1.262 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.623e-05/1.133, allocations: 47.23 kB / 1.262 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009127/1.134, allocations: 0.5795 MB / 1.262 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.11e-07/1.134, allocations: 0 / 1.262 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001219/1.135, allocations: 432 kB / 1.263 GB, free: 186.8 MB / 0.9981 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.001536/1.137, allocations: 0.6189 MB / 1.263 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002061/1.139, allocations: 1.012 MB / 1.264 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.139, allocations: 0.6562 kB / 1.264 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.14, allocations: 0.6005 MB / 1.265 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/1.142, allocations: 457.4 kB / 1.265 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005075/1.148, allocations: 3.116 MB / 1.268 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008594/1.148, allocations: 1.156 MB / 1.27 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001478/1.15, allocations: 330.2 kB / 1.27 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/1.15, allocations: 123.2 kB / 1.27 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/1.15, allocations: 4 kB / 1.27 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04056/1.191, allocations: 19.84 MB / 1.289 GB, free: 177.5 MB / 0.9981 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