Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_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.007048/0.007048, allocations: 102.7 kB / 15.73 MB, free: 5.902 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.001624/0.001624, allocations: 186.4 kB / 16.67 MB, free: 5.824 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.766/2.766, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.91 kB / 1.054 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3593, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.8904/1.25, allocations: 162.9 MB / 1.366 GB, free: 4.355 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006337/1.256, allocations: 3.495 MB / 1.37 GB, free: 1.898 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/1.257, allocations: 20.72 kB / 1.37 GB, free: 1.891 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008908/1.258, allocations: 273.8 kB / 1.37 GB, free: 1.754 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002165/1.26, allocations: 0.8606 MB / 1.371 GB, free: 1.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/1.261, allocations: 479.5 kB / 1.371 GB, free: 1.008 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001428/1.263, allocations: 1.093 MB / 1.372 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004502/1.263, allocations: 328.5 kB / 1.373 GB, free: 360 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006949/1.264, allocations: 419.7 kB / 1.373 GB, free: 168 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008832/1.265, allocations: 350.2 kB / 1.373 GB, free: 16 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.505e-05/1.265, allocations: 39.41 kB / 1.373 GB, free: 16 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/1.266, allocations: 0.689 MB / 1.374 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002119/1.266, allocations: 170.9 kB / 1.374 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000293/1.267, allocations: 271.7 kB / 1.375 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/1.268, allocations: 0.9375 MB / 1.375 GB, free: 15.01 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.268, allocations: 1.031 kB / 1.375 GB, free: 15.01 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/1.268, allocations: 0 / 1.375 GB, free: 15.01 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.847e-06/1.268, allocations: 0 / 1.375 GB, free: 15.01 MB / 1.076 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/1.269, allocations: 0.8625 MB / 1.376 GB, free: 14.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.269, allocations: 11.06 kB / 1.376 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.614e-05/1.27, allocations: 65.28 kB / 1.376 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/1.271, allocations: 157.6 kB / 1.377 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007509/1.271, allocations: 0.5015 MB / 1.377 GB, free: 13.72 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/1.272, allocations: 24.91 kB / 1.377 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/1.272, allocations: 27.25 kB / 1.377 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/1.272, allocations: 321.9 kB / 1.377 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/1.272, allocations: 1.406 kB / 1.377 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/1.272, allocations: 14.25 kB / 1.377 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/1.272, allocations: 14.17 kB / 1.377 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000409/1.273, allocations: 224.7 kB / 1.378 GB, free: 13.38 MB / 1.076 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.001927/1.275, allocations: 1.412 MB / 1.379 GB, free: 12.1 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/1.275, allocations: 223.8 kB / 1.379 GB, free: 11.97 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/1.275, allocations: 112 kB / 1.379 GB, free: 11.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/1.275, allocations: 6.656 kB / 1.379 GB, free: 11.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/1.276, allocations: 166.4 kB / 1.379 GB, free: 11.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/1.276, allocations: 0 / 1.379 GB, free: 11.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=29): time 0.003076/1.279, allocations: 1.082 MB / 1.381 GB, free: 11.07 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/1.279, allocations: 66.66 kB / 1.381 GB, free: 11 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/1.279, allocations: 460.5 kB / 1.381 GB, free: 10.73 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/1.279, allocations: 39.86 kB / 1.381 GB, free: 10.68 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/1.28, allocations: 233.6 kB / 1.381 GB, free: 10.48 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/1.28, allocations: 108.1 kB / 1.381 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/1.28, allocations: 72.25 kB / 1.381 GB, free: 10.34 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.28, allocations: 357.4 kB / 1.382 GB, free: 9.988 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/1.28, allocations: 124.4 kB / 1.382 GB, free: 9.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/1.28, allocations: 182.8 kB / 1.382 GB, free: 9.809 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/1.281, allocations: 306.8 kB / 1.382 GB, free: 9.621 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.281, allocations: 1.375 kB / 1.382 GB, free: 9.621 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009807/1.282, allocations: 492.5 kB / 1.383 GB, free: 9.355 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.282, allocations: 7.375 kB / 1.383 GB, free: 9.355 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.282, allocations: 1.031 kB / 1.383 GB, free: 9.355 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003594/1.282, allocations: 81.67 kB / 1.383 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/1.283, allocations: 71.31 kB / 1.383 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/1.285, allocations: 1.905 MB / 1.385 GB, free: 7.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/1.285, allocations: 16.97 kB / 1.385 GB, free: 7.469 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/1.285, allocations: 13.91 kB / 1.385 GB, free: 7.465 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.0002412/1.285, allocations: 189 kB / 1.385 GB, free: 7.305 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/1.285, allocations: 50 kB / 1.385 GB, free: 7.277 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/1.285, allocations: 53.28 kB / 1.385 GB, free: 7.238 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/1.285, allocations: 7.219 kB / 1.385 GB, free: 7.234 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.285, allocations: 1.062 kB / 1.385 GB, free: 7.234 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.285, allocations: 5.156 kB / 1.385 GB, free: 7.23 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/1.287, allocations: 0.9633 MB / 1.386 GB, free: 6.492 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.287, allocations: 5.344 kB / 1.386 GB, free: 6.488 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/1.287, allocations: 61.03 kB / 1.386 GB, free: 6.477 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002969/1.288, allocations: 79.09 kB / 1.386 GB, free: 6.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/1.288, allocations: 15.05 kB / 1.386 GB, free: 6.418 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/1.289, allocations: 1.642 MB / 1.388 GB, free: 4.816 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.289, allocations: 4.062 kB / 1.388 GB, free: 4.812 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/1.29, allocations: 0.5628 MB / 1.388 GB, free: 4.449 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/1.29, allocations: 149.4 kB / 1.389 GB, free: 4.305 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/1.29, allocations: 15.2 kB / 1.389 GB, free: 4.293 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/1.291, allocations: 15.38 kB / 1.389 GB, free: 4.281 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/1.291, allocations: 21.38 kB / 1.389 GB, free: 4.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/1.291, allocations: 11.17 kB / 1.389 GB, free: 4.266 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003604/1.291, allocations: 305.7 kB / 1.389 GB, free: 4.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.291, allocations: 0 / 1.389 GB, free: 4.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000542/1.292, allocations: 129 kB / 1.389 GB, free: 4.07 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.002224/1.294, allocations: 1.455 MB / 1.391 GB, free: 3.035 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007182/1.295, allocations: 412.9 kB / 1.391 GB, free: 2.785 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.295, allocations: 1.281 kB / 1.391 GB, free: 2.785 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/1.295, allocations: 261.5 kB / 1.391 GB, free: 2.59 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/1.296, allocations: 245.6 kB / 1.391 GB, free: 2.469 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/1.302, allocations: 4.118 MB / 1.395 GB, free: 15.68 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/1.302, allocations: 0.8468 MB / 1.396 GB, free: 14.91 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003489/1.303, allocations: 88.53 kB / 1.396 GB, free: 14.86 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/1.303, allocations: 151.1 kB / 1.396 GB, free: 14.74 MB / 1.092 GB Notification: Performance of SimCode: time 5.41e-07/1.303, allocations: 1.5 kB / 1.396 GB, free: 14.74 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05348/1.356, allocations: 13.13 MB / 1.409 GB, free: 7.82 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.86, allocations: 14.91 kB / 1.409 GB, free: 7.809 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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