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.007673/0.007673, allocations: 102.8 kB / 15.73 MB, free: 6.484 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.001616/0.001617, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.617/2.617, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 62.22 kB / 0.9508 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3491, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2141/0.5632, allocations: 162.9 MB / 1.247 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006946/0.5702, allocations: 3.483 MB / 1.25 GB, free: 10.47 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.5713, allocations: 15.94 kB / 1.25 GB, free: 10.45 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.5727, allocations: 282.4 kB / 1.251 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00336/0.5762, allocations: 0.8939 MB / 1.252 GB, free: 9.281 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.578, allocations: 477.5 kB / 1.252 GB, free: 8.816 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002134/0.5801, allocations: 1.099 MB / 1.253 GB, free: 7.711 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008429/0.581, allocations: 324.7 kB / 1.253 GB, free: 7.395 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.5824, allocations: 426.4 kB / 1.254 GB, free: 6.977 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.584, allocations: 348.6 kB / 1.254 GB, free: 6.637 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.5842, allocations: 44 kB / 1.254 GB, free: 6.594 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.5862, allocations: 0.6976 MB / 1.255 GB, free: 5.895 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003653/0.5865, allocations: 163.5 kB / 1.255 GB, free: 5.734 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005721/0.5871, allocations: 274.6 kB / 1.255 GB, free: 5.465 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002308/0.5894, allocations: 0.9387 MB / 1.256 GB, free: 4.523 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.5895, allocations: 0 / 1.256 GB, free: 4.523 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5895, allocations: 7.875 kB / 1.256 GB, free: 4.516 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.982e-05/0.5895, allocations: 0 / 1.256 GB, free: 4.516 MB / 1.014 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.0024/0.5919, allocations: 0.8641 MB / 1.257 GB, free: 3.598 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.592, allocations: 16.02 kB / 1.257 GB, free: 3.582 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.5933, allocations: 147.2 kB / 1.257 GB, free: 3.438 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.5945, allocations: 0.5009 MB / 1.258 GB, free: 2.895 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.5946, allocations: 28.48 kB / 1.258 GB, free: 2.867 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-05/0.5947, allocations: 24 kB / 1.258 GB, free: 2.844 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000681/0.5953, allocations: 323.6 kB / 1.258 GB, free: 2.516 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.5954, allocations: 4 kB / 1.258 GB, free: 2.512 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.5954, allocations: 15.98 kB / 1.258 GB, free: 2.496 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.5955, allocations: 8.562 kB / 1.258 GB, free: 2.488 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.596, allocations: 226.1 kB / 1.258 GB, free: 2.266 MB / 1.014 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.002567/0.5986, allocations: 1.406 MB / 1.26 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.599, allocations: 218.7 kB / 1.26 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.5992, allocations: 108.8 kB / 1.26 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.5993, allocations: 4 kB / 1.26 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000299/0.5996, allocations: 163.2 kB / 1.26 GB, free: 224 kB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 2.525e-06/0.5996, allocations: 4 kB / 1.26 GB, free: 220 kB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.9196/1.519, allocations: 1.077 MB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/1.519, allocations: 65.64 kB / 1.261 GB, free: 176.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000881/1.52, allocations: 465.9 kB / 1.262 GB, free: 176.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/1.52, allocations: 35.66 kB / 1.262 GB, free: 176.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/1.521, allocations: 234.9 kB / 1.262 GB, free: 176.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/1.521, allocations: 103 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/1.521, allocations: 74.86 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.521, allocations: 351.5 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/1.521, allocations: 129.2 kB / 1.263 GB, free: 175.6 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/1.522, allocations: 184.2 kB / 1.263 GB, free: 175.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/1.522, allocations: 312.3 kB / 1.263 GB, free: 175.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.522, allocations: 0.8438 kB / 1.263 GB, free: 175.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001169/1.523, allocations: 497.9 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/1.523, allocations: 5.156 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.523, allocations: 2.25 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004261/1.524, allocations: 85.39 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/1.524, allocations: 65.72 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/1.526, allocations: 1.911 MB / 1.266 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/1.526, allocations: 11.83 kB / 1.266 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/1.526, allocations: 14.8 kB / 1.266 GB, free: 173.3 MB / 1.014 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.0003208/1.527, allocations: 194 kB / 1.266 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.935e-05/1.527, allocations: 46.59 kB / 1.266 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/1.527, allocations: 55.42 kB / 1.266 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.527, allocations: 3.906 kB / 1.266 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.527, allocations: 1.875 kB / 1.266 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.527, allocations: 1.641 kB / 1.266 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/1.529, allocations: 0.9627 MB / 1.267 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.529, allocations: 0.75 kB / 1.267 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/1.529, allocations: 66.52 kB / 1.267 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003377/1.53, allocations: 80.41 kB / 1.267 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/1.53, allocations: 15.22 kB / 1.267 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/1.531, allocations: 1.646 MB / 1.269 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.531, allocations: 1.156 kB / 1.269 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/1.532, allocations: 0.5757 MB / 1.269 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/1.532, allocations: 149.3 kB / 1.269 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/1.532, allocations: 11.78 kB / 1.269 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/1.533, allocations: 10.11 kB / 1.269 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/1.533, allocations: 21.92 kB / 1.269 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/1.533, allocations: 12.56 kB / 1.269 GB, free: 170.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004992/1.533, allocations: 311.3 kB / 1.27 GB, free: 170.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.533, allocations: 2.516 kB / 1.27 GB, free: 170.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006956/1.534, allocations: 125.5 kB / 1.27 GB, free: 170.4 MB / 1.014 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.001171/1.535, allocations: 443.7 kB / 1.27 GB, free: 170.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009612/1.536, allocations: 419.8 kB / 1.271 GB, free: 170 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.536, allocations: 1.75 kB / 1.271 GB, free: 170 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003503/1.537, allocations: 259.1 kB / 1.271 GB, free: 169.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/1.538, allocations: 231.2 kB / 1.271 GB, free: 169.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/1.54, allocations: 0.9898 MB / 1.272 GB, free: 169.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/1.54, allocations: 0.8503 MB / 1.273 GB, free: 168.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004064/1.541, allocations: 89.19 kB / 1.273 GB, free: 168.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/1.541, allocations: 38.61 kB / 1.273 GB, free: 168.5 MB / 1.014 GB Notification: Performance of SimCode: time 8.82e-07/1.541, allocations: 0 / 1.273 GB, free: 168.5 MB / 1.014 GB Notification: Performance of Templates: time 0.02811/1.569, allocations: 8.88 MB / 1.282 GB, free: 167.8 MB / 1.014 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