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.001486/0.001486, allocations: 111.7 kB / 16.41 MB, free: 6.008 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.001542/0.001542, allocations: 182.8 kB / 17.34 MB, free: 5.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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.89 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7749/0.7761, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006635/0.7828, allocations: 4.931 MB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1475/0.9304, allocations: 150.6 MB / 1.36 GB, free: 1.445 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009207/0.9313, allocations: 19.88 kB / 1.36 GB, free: 1.426 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008613/0.9322, allocations: 186.3 kB / 1.36 GB, free: 1.242 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.9344, allocations: 0.5553 MB / 1.361 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.9366, allocations: 0.8249 MB / 1.362 GB, free: 15.87 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.9385, allocations: 1.381 MB / 1.363 GB, free: 14.48 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.9395, allocations: 0.5831 MB / 1.364 GB, free: 13.88 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007537/0.9403, allocations: 478.4 kB / 1.364 GB, free: 13.41 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007798/0.9411, allocations: 0.492 MB / 1.365 GB, free: 12.92 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002888/0.9414, allocations: 116 kB / 1.365 GB, free: 12.8 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.9425, allocations: 483.6 kB / 1.365 GB, free: 12.33 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003655/0.9428, allocations: 299 kB / 1.366 GB, free: 12.04 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007133/0.9436, allocations: 0.5558 MB / 1.366 GB, free: 11.48 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.9457, allocations: 1.61 MB / 1.368 GB, free: 9.867 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.9457, allocations: 0 / 1.368 GB, free: 9.867 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9457, allocations: 0 / 1.368 GB, free: 9.867 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.294e-05/0.9458, allocations: 0 / 1.368 GB, free: 9.867 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.002672/0.9485, allocations: 1.422 MB / 1.369 GB, free: 8.391 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.9485, allocations: 8.031 kB / 1.369 GB, free: 8.383 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/0.9494, allocations: 187.4 kB / 1.369 GB, free: 8.199 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.9505, allocations: 0.7616 MB / 1.37 GB, free: 7.398 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.9505, allocations: 62 kB / 1.37 GB, free: 7.336 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.68e-05/0.9506, allocations: 83.98 kB / 1.37 GB, free: 7.254 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.9521, allocations: 0.9075 MB / 1.371 GB, free: 6.305 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.9521, allocations: 3.938 kB / 1.371 GB, free: 6.301 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.998e-05/0.9522, allocations: 36 kB / 1.371 GB, free: 6.266 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.9522, allocations: 24 kB / 1.371 GB, free: 6.242 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.9539, allocations: 1.093 MB / 1.372 GB, free: 5.148 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.00371/0.9576, allocations: 2.744 MB / 1.375 GB, free: 2.285 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.9589, allocations: 0.7807 MB / 1.376 GB, free: 1.496 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004844/0.9594, allocations: 298.6 kB / 1.376 GB, free: 1.203 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.97e-05/0.9595, allocations: 28.61 kB / 1.376 GB, free: 1.172 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007959/0.9603, allocations: 499 kB / 1.376 GB, free: 0.668 MB / 1.092 GB Notification: Performance of pre-optimization done (n=78): time 2.876e-06/0.9603, allocations: 3.938 kB / 1.376 GB, free: 0.6641 MB / 1.092 GB Notification: Performance of matching and sorting (n=78): time 0.002997/0.9633, allocations: 1.17 MB / 1.377 GB, free: 15.46 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.9635, allocations: 188.6 kB / 1.378 GB, free: 15.24 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007754/0.9642, allocations: 0.6293 MB / 1.378 GB, free: 14.6 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.252e-05/0.9643, allocations: 45.7 kB / 1.378 GB, free: 14.55 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.9646, allocations: 408.2 kB / 1.379 GB, free: 14.14 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.9648, allocations: 252.4 kB / 1.379 GB, free: 13.89 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.9651, allocations: 162.5 kB / 1.379 GB, free: 13.73 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.9652, allocations: 386.7 kB / 1.379 GB, free: 13.34 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005039/0.9657, allocations: 261.9 kB / 1.38 GB, free: 13.08 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.9663, allocations: 368 kB / 1.38 GB, free: 12.71 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.9674, allocations: 0.6042 MB / 1.381 GB, free: 12.09 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.9674, allocations: 4 kB / 1.381 GB, free: 12.08 MB / 1.107 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001901/0.9693, allocations: 0.8409 MB / 1.381 GB, free: 11.23 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.9694, allocations: 8 kB / 1.381 GB, free: 11.22 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.9694, allocations: 4 kB / 1.381 GB, free: 11.22 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/0.97, allocations: 80.91 kB / 1.382 GB, free: 11.14 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/0.9706, allocations: 167.6 kB / 1.382 GB, free: 10.97 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.9728, allocations: 1.629 MB / 1.383 GB, free: 9.199 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007947/0.9736, allocations: 87.31 kB / 1.383 GB, free: 9.113 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.9737, allocations: 39.97 kB / 1.383 GB, free: 9.074 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.0004642/0.9742, allocations: 271.4 kB / 1.384 GB, free: 8.797 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.9743, allocations: 79.06 kB / 1.384 GB, free: 8.719 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.9766, allocations: 1.046 MB / 1.385 GB, free: 7.66 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.9766, allocations: 12.03 kB / 1.385 GB, free: 7.648 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9766, allocations: 7.875 kB / 1.385 GB, free: 7.641 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.9766, allocations: 3.984 kB / 1.385 GB, free: 7.637 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009545/0.9776, allocations: 0.8763 MB / 1.386 GB, free: 6.707 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.9776, allocations: 4 kB / 1.386 GB, free: 6.703 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/0.9782, allocations: 143.8 kB / 1.386 GB, free: 6.562 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/0.9786, allocations: 72.72 kB / 1.386 GB, free: 6.488 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/0.9787, allocations: 23.98 kB / 1.386 GB, free: 6.465 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.9804, allocations: 1.666 MB / 1.388 GB, free: 4.656 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.9804, allocations: 0 / 1.388 GB, free: 4.656 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.9822, allocations: 0.9122 MB / 1.388 GB, free: 3.719 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.9826, allocations: 267.7 kB / 1.389 GB, free: 3.438 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.9827, allocations: 23.94 kB / 1.389 GB, free: 3.414 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005968/0.9833, allocations: 65.8 kB / 1.389 GB, free: 3.352 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.9834, allocations: 64.91 kB / 1.389 GB, free: 3.289 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.9835, allocations: 39.91 kB / 1.389 GB, free: 3.25 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005122/0.984, allocations: 459 kB / 1.389 GB, free: 2.805 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/0.984, allocations: 0 / 1.389 GB, free: 2.805 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007758/0.9848, allocations: 319.3 kB / 1.39 GB, free: 2.492 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.001373/0.9862, allocations: 0.5858 MB / 1.39 GB, free: 2.078 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.9877, allocations: 0.8197 MB / 1.391 GB, free: 1.246 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9878, allocations: 0 / 1.391 GB, free: 1.246 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008351/0.9886, allocations: 0.508 MB / 1.391 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.9898, allocations: 312.7 kB / 1.392 GB, free: 460 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.9925, allocations: 1.698 MB / 1.393 GB, free: 14.72 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.993, allocations: 1.015 MB / 1.394 GB, free: 13.68 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.9933, allocations: 115.4 kB / 1.395 GB, free: 13.57 MB / 1.123 GB Notification: Performance of SimCode: time 3.4e-07/0.9933, allocations: 0 / 1.395 GB, free: 13.57 MB / 1.123 GB Notification: Performance of Templates: time 0.02206/1.015, allocations: 18.43 MB / 1.413 GB, free: 11.18 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches