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: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005517/0.005517, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001297/0.001297, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.23/2.23, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.91 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.752/0.7533, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1881/0.9414, allocations: 162.9 MB / 1.247 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006046/0.9475, allocations: 3.484 MB / 1.25 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009032/0.9484, allocations: 19.88 kB / 1.25 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.9497, allocations: 278.5 kB / 1.25 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.9523, allocations: 0.8594 MB / 1.251 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.9537, allocations: 486.5 kB / 1.252 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001863/0.9556, allocations: 1.087 MB / 1.253 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006812/0.9563, allocations: 336.6 kB / 1.253 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.9574, allocations: 414.3 kB / 1.253 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.9588, allocations: 345.4 kB / 1.254 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.959, allocations: 40 kB / 1.254 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.9607, allocations: 0.6938 MB / 1.254 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.961, allocations: 171.5 kB / 1.255 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004888/0.9615, allocations: 274.6 kB / 1.255 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002431/0.9639, allocations: 0.9348 MB / 1.256 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9639, allocations: 0 / 1.256 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9639, allocations: 0 / 1.256 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.385e-05/0.964, allocations: 0 / 1.256 GB, free: 1.504 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.001926/0.9659, allocations: 0.8718 MB / 1.257 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.9659, allocations: 8.031 kB / 1.257 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.533e-05/0.966, allocations: 70.53 kB / 1.257 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.9672, allocations: 151.2 kB / 1.257 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008523/0.968, allocations: 0.5047 MB / 1.257 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.9681, allocations: 20.56 kB / 1.257 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.9681, allocations: 24 kB / 1.257 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/0.9687, allocations: 327.6 kB / 1.258 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.9687, allocations: 0 / 1.258 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.9688, allocations: 12 kB / 1.258 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.9688, allocations: 8.562 kB / 1.258 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.9692, allocations: 226.1 kB / 1.258 GB, free: 15.18 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.001989/0.9712, allocations: 1.41 MB / 1.259 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.9716, allocations: 214.8 kB / 1.259 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.9718, allocations: 108.8 kB / 1.26 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.9718, allocations: 4 kB / 1.26 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.9721, allocations: 163.6 kB / 1.26 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.933e-06/0.9722, allocations: 4 kB / 1.26 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.002898/0.9751, allocations: 1.088 MB / 1.261 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.9751, allocations: 67.28 kB / 1.261 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000552/0.9757, allocations: 469.9 kB / 1.261 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.9757, allocations: 37.64 kB / 1.261 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.9759, allocations: 236.2 kB / 1.262 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.976, allocations: 110.5 kB / 1.262 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.9762, allocations: 66.08 kB / 1.262 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9763, allocations: 358.8 kB / 1.262 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.9766, allocations: 128.7 kB / 1.262 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.9768, allocations: 182.9 kB / 1.262 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/0.9773, allocations: 303.9 kB / 1.263 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.9773, allocations: 0 / 1.263 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009851/0.9783, allocations: 486.1 kB / 1.263 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.9784, allocations: 10.66 kB / 1.263 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.9784, allocations: 8.141 kB / 1.263 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/0.9787, allocations: 80.8 kB / 1.263 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.979, allocations: 67.91 kB / 1.263 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.9809, allocations: 1.907 MB / 1.265 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.9813, allocations: 12.22 kB / 1.265 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.9813, allocations: 27.92 kB / 1.265 GB, free: 7.254 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.0002354/0.9816, allocations: 190 kB / 1.265 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.9816, allocations: 39.53 kB / 1.265 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.9818, allocations: 60.61 kB / 1.265 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.9818, allocations: 0 / 1.265 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.9818, allocations: 4 kB / 1.265 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.9818, allocations: 0 / 1.265 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.9834, allocations: 0.9642 MB / 1.266 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.9834, allocations: 0 / 1.266 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.9838, allocations: 55.97 kB / 1.266 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003966/0.9842, allocations: 88.72 kB / 1.267 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.9843, allocations: 11.94 kB / 1.267 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.9858, allocations: 1.656 MB / 1.268 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.9859, allocations: 0 / 1.268 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.9869, allocations: 0.5636 MB / 1.269 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.9872, allocations: 152.5 kB / 1.269 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/0.9872, allocations: 8 kB / 1.269 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.9876, allocations: 19.86 kB / 1.269 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.9877, allocations: 23.97 kB / 1.269 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.9877, allocations: 8 kB / 1.269 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003716/0.9881, allocations: 311.1 kB / 1.269 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9881, allocations: 0 / 1.269 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005417/0.9886, allocations: 124 kB / 1.269 GB, free: 2.742 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.002325/0.991, allocations: 1.442 MB / 1.271 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007939/0.9918, allocations: 422.5 kB / 1.271 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.9918, allocations: 0 / 1.271 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.9921, allocations: 246.6 kB / 1.271 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.9933, allocations: 253.1 kB / 1.272 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/0.9992, allocations: 4.116 MB / 1.276 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.9997, allocations: 0.8504 MB / 1.276 GB, free: 11.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003268/1, allocations: 84.33 kB / 1.277 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/1, allocations: 155.4 kB / 1.277 GB, free: 11.16 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/1, allocations: 0 / 1.277 GB, free: 11.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/1.037, allocations: 13.12 MB / 1.289 GB, free: 14.28 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.25, allocations: 11.7 kB / 1.289 GB, free: 14.27 MB / 1.029 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System1.fmu > 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) "" Variables in the reference:time,vol.T_start,vol.T,TOut.T Variables in the result:QRooInt_flow,TOut.T,TOut.port.Q_flow,TOut.port.T,V,der(heaCap.T),der(vol.dynBal.m),der(vol.dynBal.medium.Xi[1]),heaCap.C,heaCap.T,heaCap.der_T,heaCap.port.Q_flow,heaCap.port.T,mA_flow_nominal,preHea.Q_flow,preHea.T_ref,preHea.alpha,preHea.port.Q_flow,preHea.port.T,theCon.G,theCon.Q_flow,theCon.dT,theCon.port_a.Q_flow,theCon.port_a.T,theCon.port_b.Q_flow,theCon.port_b.T,timTab.extrapolation,timTab.offset[1],timTab.smoothness,timTab.table[1,1],timTab.table[1,2],timTab.table[2,1],timTab.table[2,2],timTab.table[3,1],timTab.table[3,2],timTab.timeScale,timTab.y[1],time,vol.T,vol.T_start,vol.U,vol.V,vol.X_start[1],vol.X_start[2],vol.Xi[1],vol.allowFlowReversal,vol.dynBal.m,vol.dynBal.medium.Xi[1],vol.energyDynamics,vol.heatPort.Q_flow,vol.heatPort.T,vol.initialize_p,vol.m,vol.mSenFac,vol.mXi[1],vol.m_flow_nominal,vol.m_flow_small,vol.massDynamics,vol.nPorts,vol.p,vol.p_start,vol.substanceDynamics,vol.traceDynamics,vol.use_C_flow