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.001322/0.001322, allocations: 108.1 kB / 16.41 MB, free: 6.496 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.001448/0.001448, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.315/2.315, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 59.91 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9948/0.9964, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2187/1.215, allocations: 162.9 MB / 1.248 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006487/1.222, allocations: 3.485 MB / 1.251 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009694/1.223, allocations: 23.88 kB / 1.251 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/1.224, allocations: 274.5 kB / 1.251 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002823/1.227, allocations: 0.8516 MB / 1.252 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/1.228, allocations: 490.2 kB / 1.253 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001827/1.23, allocations: 1.095 MB / 1.254 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006329/1.231, allocations: 328.2 kB / 1.254 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009521/1.232, allocations: 422.3 kB / 1.254 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/1.233, allocations: 341.1 kB / 1.255 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/1.233, allocations: 40 kB / 1.255 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/1.235, allocations: 0.6937 MB / 1.255 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002439/1.235, allocations: 171.4 kB / 1.256 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005081/1.236, allocations: 274.6 kB / 1.256 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001907/1.237, allocations: 0.9366 MB / 1.257 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.237, allocations: 0 / 1.257 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/1.237, allocations: 0 / 1.257 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.302e-05/1.238, allocations: 0 / 1.257 GB, free: 1.465 MB / 0.9825 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.001891/1.239, allocations: 0.864 MB / 1.258 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.239, allocations: 16.02 kB / 1.258 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/1.241, allocations: 151.2 kB / 1.258 GB, free: 392 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/1.242, allocations: 0.5047 MB / 1.258 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/1.242, allocations: 20.56 kB / 1.258 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/1.242, allocations: 32 kB / 1.258 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/1.242, allocations: 319.6 kB / 1.259 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/1.242, allocations: 0 / 1.259 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/1.243, allocations: 16 kB / 1.259 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/1.243, allocations: 12.56 kB / 1.259 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/1.243, allocations: 218.1 kB / 1.259 GB, free: 15.22 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.002229/1.245, allocations: 1.41 MB / 1.26 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/1.246, allocations: 230.5 kB / 1.261 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/1.246, allocations: 100.8 kB / 1.261 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/1.246, allocations: 4 kB / 1.261 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003218/1.246, allocations: 163.7 kB / 1.261 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 2.465e-06/1.246, allocations: 0 / 1.261 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.003001/1.249, allocations: 1.095 MB / 1.262 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/1.249, allocations: 63.34 kB / 1.262 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000586/1.25, allocations: 461.9 kB / 1.262 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/1.25, allocations: 33.69 kB / 1.262 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/1.25, allocations: 240.2 kB / 1.263 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/1.25, allocations: 102.6 kB / 1.263 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/1.251, allocations: 77.97 kB / 1.263 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.251, allocations: 358.8 kB / 1.263 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/1.251, allocations: 124.7 kB / 1.263 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/1.251, allocations: 182.9 kB / 1.263 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/1.252, allocations: 307.8 kB / 1.264 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.252, allocations: 0 / 1.264 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001006/1.253, allocations: 498.1 kB / 1.264 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.253, allocations: 4 kB / 1.264 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.253, allocations: 0 / 1.264 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003972/1.253, allocations: 88.92 kB / 1.264 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/1.254, allocations: 59.91 kB / 1.264 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/1.256, allocations: 1.915 MB / 1.266 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/1.256, allocations: 15.91 kB / 1.266 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/1.256, allocations: 8 kB / 1.266 GB, free: 7.301 MB / 0.9981 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.0002792/1.256, allocations: 200.6 kB / 1.266 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.431e-05/1.256, allocations: 43.47 kB / 1.266 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/1.257, allocations: 56.61 kB / 1.266 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.257, allocations: 4 kB / 1.266 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/1.257, allocations: 0 / 1.266 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/1.257, allocations: 0 / 1.266 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/1.258, allocations: 0.968 MB / 1.267 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.258, allocations: 0 / 1.267 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/1.259, allocations: 59.95 kB / 1.268 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003034/1.259, allocations: 76.8 kB / 1.268 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/1.259, allocations: 15.92 kB / 1.268 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/1.261, allocations: 1.664 MB / 1.269 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.261, allocations: 4.031 kB / 1.269 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/1.262, allocations: 0.5601 MB / 1.27 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/1.262, allocations: 152.6 kB / 1.27 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/1.262, allocations: 8 kB / 1.27 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/1.262, allocations: 19.84 kB / 1.27 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/1.262, allocations: 15.97 kB / 1.27 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/1.263, allocations: 15.98 kB / 1.27 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003919/1.263, allocations: 307.1 kB / 1.27 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.263, allocations: 0 / 1.27 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005745/1.264, allocations: 128 kB / 1.27 GB, free: 2.773 MB / 0.9981 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.001124/1.265, allocations: 432.5 kB / 1.271 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008333/1.265, allocations: 426.8 kB / 1.271 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.266, allocations: 0 / 1.271 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/1.266, allocations: 250.6 kB / 1.271 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/1.267, allocations: 244.7 kB / 1.272 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/1.269, allocations: 1.032 MB / 1.273 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/1.27, allocations: 0.8543 MB / 1.274 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/1.27, allocations: 35.44 kB / 1.274 GB, free: 15.61 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/1.27, allocations: 0 / 1.274 GB, free: 15.61 MB / 1.014 GB Notification: Performance of Templates: time 0.01499/1.285, allocations: 9.271 MB / 1.283 GB, free: 6.383 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches