Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_10_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.008916/0.008916, allocations: 101 kB / 15.73 MB, free: 5.586 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.001814/0.001814, allocations: 187.8 kB / 16.67 MB, free: 5.523 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.436/2.436, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.91 kB / 1.018 GB, free: 9.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7672/0.7686, allocations: 151.6 MB / 1.166 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1623/0.931, allocations: 162.9 MB / 1.325 GB, free: 264 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005437/0.9365, allocations: 3.475 MB / 1.329 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005549/0.9371, allocations: 19.94 kB / 1.329 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008836/0.938, allocations: 282.4 kB / 1.329 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.9403, allocations: 0.8906 MB / 1.33 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.9416, allocations: 482 kB / 1.33 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.9432, allocations: 1.099 MB / 1.331 GB, free: 10 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.9437, allocations: 332.1 kB / 1.332 GB, free: 9.676 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007285/0.9444, allocations: 422.4 kB / 1.332 GB, free: 9.262 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009604/0.9454, allocations: 350.5 kB / 1.332 GB, free: 8.918 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.9455, allocations: 40 kB / 1.332 GB, free: 8.879 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.9469, allocations: 0.6937 MB / 1.333 GB, free: 8.184 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.9472, allocations: 163.5 kB / 1.333 GB, free: 8.023 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.9475, allocations: 274.6 kB / 1.333 GB, free: 7.754 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.9489, allocations: 0.9387 MB / 1.334 GB, free: 6.812 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9489, allocations: 0 / 1.334 GB, free: 6.812 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9489, allocations: 0 / 1.334 GB, free: 6.812 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.9489, allocations: 7.875 kB / 1.334 GB, free: 6.805 MB / 1.061 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.0015/0.9505, allocations: 0.8641 MB / 1.335 GB, free: 5.887 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.9505, allocations: 12.92 kB / 1.335 GB, free: 5.875 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.432e-05/0.9506, allocations: 66.53 kB / 1.335 GB, free: 5.801 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.9517, allocations: 155.2 kB / 1.335 GB, free: 5.648 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007762/0.9525, allocations: 0.4969 MB / 1.336 GB, free: 5.109 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.9525, allocations: 20.56 kB / 1.336 GB, free: 5.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.9526, allocations: 35.98 kB / 1.336 GB, free: 5.055 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.9531, allocations: 319.7 kB / 1.336 GB, free: 4.734 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.9532, allocations: 3.938 kB / 1.336 GB, free: 4.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.9532, allocations: 12 kB / 1.336 GB, free: 4.719 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.9532, allocations: 8.562 kB / 1.336 GB, free: 4.711 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.9537, allocations: 230 kB / 1.337 GB, free: 4.484 MB / 1.061 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.001892/0.9556, allocations: 1.414 MB / 1.338 GB, free: 2.938 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.956, allocations: 216 kB / 1.338 GB, free: 2.719 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.9562, allocations: 119 kB / 1.338 GB, free: 2.602 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.9562, allocations: 0 / 1.338 GB, free: 2.602 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.9565, allocations: 171.6 kB / 1.338 GB, free: 2.422 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.843e-06/0.9565, allocations: 0 / 1.338 GB, free: 2.422 MB / 1.061 GB Notification: Performance of matching and sorting (n=29): time 0.002838/0.9594, allocations: 1.083 MB / 1.34 GB, free: 1.281 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.9594, allocations: 55.34 kB / 1.34 GB, free: 1.215 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.9599, allocations: 465.8 kB / 1.34 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.96, allocations: 33.7 kB / 1.34 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.9601, allocations: 236.3 kB / 1.34 GB, free: 492 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.711e-05/0.9602, allocations: 106.5 kB / 1.34 GB, free: 384 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.9603, allocations: 74.06 kB / 1.34 GB, free: 304 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.9605, allocations: 354.8 kB / 1.341 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.9607, allocations: 124.7 kB / 1.341 GB, free: 15.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.961, allocations: 190.6 kB / 1.341 GB, free: 15.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.9614, allocations: 303.9 kB / 1.341 GB, free: 15.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9614, allocations: 0 / 1.341 GB, free: 15.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009675/0.9624, allocations: 486.2 kB / 1.342 GB, free: 14.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.9624, allocations: 10.48 kB / 1.342 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.9625, allocations: 7.938 kB / 1.342 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/0.9628, allocations: 84.95 kB / 1.342 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.9631, allocations: 63.92 kB / 1.342 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.9648, allocations: 1.908 MB / 1.344 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.9652, allocations: 12.02 kB / 1.344 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.9652, allocations: 16 kB / 1.344 GB, free: 12.58 MB / 1.076 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.0002216/0.9655, allocations: 203.2 kB / 1.344 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.9655, allocations: 47.44 kB / 1.344 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.9657, allocations: 52.62 kB / 1.344 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.9657, allocations: 7.938 kB / 1.344 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9657, allocations: 0 / 1.344 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.9657, allocations: 3.984 kB / 1.344 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.9673, allocations: 0.9604 MB / 1.345 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.9673, allocations: 0 / 1.345 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.9677, allocations: 63.91 kB / 1.345 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/0.968, allocations: 80.78 kB / 1.345 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.968, allocations: 11.94 kB / 1.345 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.9694, allocations: 1.649 MB / 1.347 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9694, allocations: 0 / 1.347 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.9704, allocations: 0.5713 MB / 1.347 GB, free: 8.699 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.9706, allocations: 152.8 kB / 1.348 GB, free: 8.531 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.9707, allocations: 8 kB / 1.348 GB, free: 8.523 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.971, allocations: 15.92 kB / 1.348 GB, free: 8.508 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.9711, allocations: 23.95 kB / 1.348 GB, free: 8.484 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.9711, allocations: 8 kB / 1.348 GB, free: 8.477 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003432/0.9715, allocations: 311.1 kB / 1.348 GB, free: 8.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9715, allocations: 0 / 1.348 GB, free: 8.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005391/0.972, allocations: 132 kB / 1.348 GB, free: 8.051 MB / 1.076 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.002143/0.9742, allocations: 1.437 MB / 1.349 GB, free: 6.746 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007322/0.9749, allocations: 415 kB / 1.35 GB, free: 6.328 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.975, allocations: 0 / 1.35 GB, free: 6.328 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.9753, allocations: 255 kB / 1.35 GB, free: 6.066 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.9764, allocations: 247.1 kB / 1.35 GB, free: 5.836 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006047/0.9824, allocations: 4.119 MB / 1.354 GB, free: 1.598 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.9829, allocations: 0.8426 MB / 1.355 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003421/0.9832, allocations: 96.3 kB / 1.355 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.9835, allocations: 151.4 kB / 1.355 GB, free: 500 kB / 1.076 GB Notification: Performance of SimCode: time 6.41e-07/0.9835, allocations: 7.875 kB / 1.355 GB, free: 492 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03564/1.019, allocations: 12.89 MB / 1.368 GB, free: 3.773 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/11.42, allocations: 9.406 kB / 1.368 GB, free: 3.766 MB / 1.092 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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