Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001406/0.001406, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.484/2.484, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 0.8118 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.826/0.8273, allocations: 140.4 MB / 0.9489 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2128/1.04, allocations: 160.7 MB / 1.106 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006215/1.046, allocations: 3.509 MB / 1.109 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007098/1.047, allocations: 15.94 kB / 1.109 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009433/1.048, allocations: 250.9 kB / 1.109 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002239/1.05, allocations: 0.7897 MB / 1.11 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/1.052, allocations: 426.7 kB / 1.111 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001537/1.053, allocations: 1.376 MB / 1.112 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004035/1.054, allocations: 288 kB / 1.112 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005861/1.054, allocations: 346.4 kB / 1.113 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009251/1.055, allocations: 350.5 kB / 1.113 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/1.055, allocations: 20 kB / 1.113 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/1.057, allocations: 0.791 MB / 1.114 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002068/1.057, allocations: 151.5 kB / 1.114 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002727/1.057, allocations: 242.7 kB / 1.114 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/1.058, allocations: 0.9541 MB / 1.115 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.058, allocations: 3.984 kB / 1.115 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.985e-06/1.059, allocations: 4 kB / 1.115 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.085e-06/1.059, allocations: 3.938 kB / 1.115 GB, free: 7.34 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001496/1.06, allocations: 0.8648 MB / 1.116 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.06, allocations: 8.031 kB / 1.116 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/1.061, allocations: 151.2 kB / 1.116 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/1.062, allocations: 496.8 kB / 1.117 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/1.062, allocations: 24.56 kB / 1.117 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/1.062, allocations: 28 kB / 1.117 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/1.063, allocations: 331.6 kB / 1.117 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/1.063, allocations: 0 / 1.117 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/1.063, allocations: 12 kB / 1.117 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/1.063, allocations: 12.55 kB / 1.117 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/1.063, allocations: 226.1 kB / 1.117 GB, free: 5.113 MB / 0.8731 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.001985/1.065, allocations: 1.41 MB / 1.119 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/1.065, allocations: 223.6 kB / 1.119 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/1.066, allocations: 112.7 kB / 1.119 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/1.066, allocations: 4 kB / 1.119 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003263/1.066, allocations: 169.2 kB / 1.119 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.933e-06/1.066, allocations: 0 / 1.119 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.00304/1.069, allocations: 1.086 MB / 1.12 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/1.069, allocations: 59.34 kB / 1.12 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005744/1.07, allocations: 469.8 kB / 1.121 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/1.07, allocations: 33.7 kB / 1.121 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/1.07, allocations: 232.3 kB / 1.121 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/1.07, allocations: 106.5 kB / 1.121 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/1.07, allocations: 73.97 kB / 1.121 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002036/1.071, allocations: 362.8 kB / 1.121 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/1.071, allocations: 128.7 kB / 1.121 GB, free: 432 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/1.071, allocations: 182.7 kB / 1.122 GB, free: 228 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/1.072, allocations: 307.9 kB / 1.122 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.072, allocations: 0 / 1.122 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000979/1.073, allocations: 481.9 kB / 1.122 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.073, allocations: 9.25 kB / 1.122 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.073, allocations: 0 / 1.122 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000382/1.073, allocations: 88.89 kB / 1.122 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/1.073, allocations: 67.91 kB / 1.123 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/1.075, allocations: 1.728 MB / 1.124 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/1.076, allocations: 31.98 kB / 1.124 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/1.076, allocations: 15.94 kB / 1.124 GB, free: 13.35 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002699/1.076, allocations: 190.1 kB / 1.124 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.989e-05/1.076, allocations: 43.44 kB / 1.124 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/1.076, allocations: 60.55 kB / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.076, allocations: 0 / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.076, allocations: 4 kB / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/1.076, allocations: 0 / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/1.078, allocations: 0.9732 MB / 1.126 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.078, allocations: 0 / 1.126 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/1.078, allocations: 59.91 kB / 1.126 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003172/1.078, allocations: 80.8 kB / 1.126 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/1.078, allocations: 11.98 kB / 1.126 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/1.08, allocations: 1.542 MB / 1.127 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.08, allocations: 0 / 1.127 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/1.081, allocations: 0.5743 MB / 1.128 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/1.081, allocations: 144.6 kB / 1.128 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/1.081, allocations: 16 kB / 1.128 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/1.082, allocations: 21.61 kB / 1.128 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/1.082, allocations: 15.97 kB / 1.128 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/1.082, allocations: 15.98 kB / 1.128 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004074/1.082, allocations: 315.1 kB / 1.128 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.082, allocations: 0 / 1.128 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005903/1.083, allocations: 124 kB / 1.128 GB, free: 8.949 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/1.084, allocations: 440.7 kB / 1.129 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008206/1.085, allocations: 414.5 kB / 1.129 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.085, allocations: 0 / 1.129 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003523/1.085, allocations: 250.6 kB / 1.129 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/1.086, allocations: 237.3 kB / 1.13 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/1.088, allocations: 1.143 MB / 1.131 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/1.089, allocations: 0.8583 MB / 1.132 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003727/1.089, allocations: 80.34 kB / 1.132 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.09, allocations: 35.44 kB / 1.132 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of SimCode: time 6.21e-07/1.09, allocations: 0 / 1.132 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of Templates: time 0.01826/1.108, allocations: 8.465 MB / 1.14 GB, free: 13.25 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches