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.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.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.009335/0.009336, allocations: 101.7 kB / 15.73 MB, free: 5.492 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.002085/0.002085, allocations: 188.4 kB / 16.67 MB, free: 5.422 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.612/2.612, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 1.054 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.846/0.8472, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006381/0.8537, allocations: 4.936 MB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1619/1.016, allocations: 150.6 MB / 1.36 GB, free: 1.477 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000864/1.016, allocations: 15.94 kB / 1.36 GB, free: 1.461 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006403/1.017, allocations: 186.2 kB / 1.36 GB, free: 1.277 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/1.019, allocations: 0.5551 MB / 1.36 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/1.021, allocations: 0.8248 MB / 1.361 GB, free: 15.9 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001237/1.022, allocations: 1.377 MB / 1.362 GB, free: 14.52 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008195/1.023, allocations: 0.5753 MB / 1.363 GB, free: 13.93 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006565/1.024, allocations: 490.3 kB / 1.363 GB, free: 13.45 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006059/1.024, allocations: 0.4901 MB / 1.364 GB, free: 12.95 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/1.024, allocations: 112 kB / 1.364 GB, free: 12.84 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009444/1.025, allocations: 483.6 kB / 1.365 GB, free: 12.37 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002744/1.026, allocations: 295 kB / 1.365 GB, free: 12.08 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004735/1.026, allocations: 0.5519 MB / 1.365 GB, free: 11.53 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/1.028, allocations: 1.618 MB / 1.367 GB, free: 9.906 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.028, allocations: 3.984 kB / 1.367 GB, free: 9.902 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.114e-06/1.028, allocations: 4 kB / 1.367 GB, free: 9.898 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.628e-05/1.028, allocations: 0 / 1.367 GB, free: 9.898 MB / 1.092 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.00235/1.03, allocations: 1.419 MB / 1.368 GB, free: 8.426 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.03, allocations: 8.031 kB / 1.368 GB, free: 8.418 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008996/1.031, allocations: 187.4 kB / 1.369 GB, free: 8.234 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/1.032, allocations: 0.7694 MB / 1.369 GB, free: 7.426 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/1.032, allocations: 58 kB / 1.369 GB, free: 7.367 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.796e-05/1.032, allocations: 84 kB / 1.369 GB, free: 7.285 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/1.034, allocations: 0.9075 MB / 1.37 GB, free: 6.336 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/1.034, allocations: 0 / 1.37 GB, free: 6.336 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.762e-05/1.034, allocations: 32 kB / 1.37 GB, free: 6.305 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/1.034, allocations: 20 kB / 1.37 GB, free: 6.285 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/1.035, allocations: 1.1 MB / 1.371 GB, free: 5.184 MB / 1.092 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.003564/1.039, allocations: 2.736 MB / 1.374 GB, free: 2.328 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/1.04, allocations: 0.7807 MB / 1.375 GB, free: 1.539 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/1.041, allocations: 302.6 kB / 1.375 GB, free: 1.242 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.29e-05/1.041, allocations: 32.61 kB / 1.375 GB, free: 1.207 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007827/1.042, allocations: 491 kB / 1.376 GB, free: 0.7109 MB / 1.092 GB Notification: Performance of pre-optimization done (n=78): time 2.064e-06/1.042, allocations: 0 / 1.376 GB, free: 0.7109 MB / 1.092 GB Notification: Performance of matching and sorting (n=78): time 0.003029/1.045, allocations: 1.174 MB / 1.377 GB, free: 15.5 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.577e-05/1.045, allocations: 192.6 kB / 1.377 GB, free: 15.27 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006969/1.046, allocations: 0.6332 MB / 1.378 GB, free: 14.63 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.529e-05/1.046, allocations: 41.7 kB / 1.378 GB, free: 14.58 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/1.046, allocations: 396.2 kB / 1.378 GB, free: 14.19 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/1.046, allocations: 256.4 kB / 1.378 GB, free: 13.94 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/1.046, allocations: 162.5 kB / 1.378 GB, free: 13.77 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.047, allocations: 394.7 kB / 1.379 GB, free: 13.38 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/1.047, allocations: 261.9 kB / 1.379 GB, free: 13.12 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/1.048, allocations: 368 kB / 1.379 GB, free: 12.75 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/1.049, allocations: 0.6002 MB / 1.38 GB, free: 12.13 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.049, allocations: 0 / 1.38 GB, free: 12.13 MB / 1.107 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001838/1.051, allocations: 0.8487 MB / 1.381 GB, free: 11.27 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.051, allocations: 8 kB / 1.381 GB, free: 11.26 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.051, allocations: 4.125 kB / 1.381 GB, free: 11.26 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005856/1.051, allocations: 80.77 kB / 1.381 GB, free: 11.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/1.052, allocations: 163.7 kB / 1.381 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/1.054, allocations: 1.629 MB / 1.383 GB, free: 9.242 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/1.055, allocations: 93.08 kB / 1.383 GB, free: 9.152 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/1.055, allocations: 39.97 kB / 1.383 GB, free: 9.113 MB / 1.107 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.0004034/1.055, allocations: 263.4 kB / 1.383 GB, free: 8.848 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/1.055, allocations: 83.05 kB / 1.383 GB, free: 8.766 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/1.057, allocations: 1.042 MB / 1.384 GB, free: 7.711 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/1.057, allocations: 16.03 kB / 1.384 GB, free: 7.695 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.058, allocations: 3.938 kB / 1.384 GB, free: 7.691 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/1.058, allocations: 3.984 kB / 1.384 GB, free: 7.688 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009205/1.058, allocations: 0.884 MB / 1.385 GB, free: 6.75 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/1.058, allocations: 4 kB / 1.385 GB, free: 6.746 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/1.059, allocations: 139.8 kB / 1.385 GB, free: 6.609 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/1.059, allocations: 68.8 kB / 1.385 GB, free: 6.539 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/1.06, allocations: 31.91 kB / 1.385 GB, free: 6.508 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/1.061, allocations: 1.662 MB / 1.387 GB, free: 4.703 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.061, allocations: 0 / 1.387 GB, free: 4.703 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/1.063, allocations: 0.9084 MB / 1.388 GB, free: 3.77 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/1.064, allocations: 267.7 kB / 1.388 GB, free: 3.488 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/1.064, allocations: 23.98 kB / 1.388 GB, free: 3.465 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005949/1.064, allocations: 63.94 kB / 1.388 GB, free: 3.402 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/1.064, allocations: 72.83 kB / 1.388 GB, free: 3.332 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.519e-05/1.065, allocations: 35.92 kB / 1.388 GB, free: 3.297 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005351/1.065, allocations: 459 kB / 1.389 GB, free: 2.852 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/1.065, allocations: 0 / 1.389 GB, free: 2.852 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007929/1.066, allocations: 319.2 kB / 1.389 GB, free: 2.539 MB / 1.107 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.001529/1.067, allocations: 0.6051 MB / 1.39 GB, free: 2.109 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00183/1.069, allocations: 0.8156 MB / 1.39 GB, free: 1.281 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.069, allocations: 4.188 kB / 1.39 GB, free: 1.277 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009139/1.07, allocations: 0.5081 MB / 1.391 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/1.071, allocations: 303.5 kB / 1.391 GB, free: 496 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/1.075, allocations: 1.654 MB / 1.393 GB, free: 14.81 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/1.075, allocations: 1.015 MB / 1.394 GB, free: 13.77 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007367/1.076, allocations: 258.5 kB / 1.394 GB, free: 13.51 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/1.076, allocations: 111.4 kB / 1.394 GB, free: 13.4 MB / 1.123 GB Notification: Performance of SimCode: time 6.11e-07/1.076, allocations: 0 / 1.394 GB, free: 13.4 MB / 1.123 GB Notification: Performance of Templates: time 0.02459/1.101, allocations: 15.14 MB / 1.409 GB, free: 14.43 MB / 1.139 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