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.005404/0.005404, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001326/0.001326, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.753/2.753, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 1.054 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3108, allocations: 157.4 MB / 1.207 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7907/1.102, allocations: 162.9 MB / 1.366 GB, free: 4.387 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005804/1.107, allocations: 3.491 MB / 1.37 GB, free: 1.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000714/1.108, allocations: 16.31 kB / 1.37 GB, free: 1.926 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008932/1.109, allocations: 280.7 kB / 1.37 GB, free: 1.781 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002297/1.111, allocations: 0.8604 MB / 1.371 GB, free: 1.301 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/1.113, allocations: 474.8 kB / 1.371 GB, free: 1.043 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001575/1.114, allocations: 1.094 MB / 1.372 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005341/1.115, allocations: 327.3 kB / 1.373 GB, free: 396 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008664/1.116, allocations: 417.5 kB / 1.373 GB, free: 204 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/1.117, allocations: 352.5 kB / 1.373 GB, free: 52 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/1.117, allocations: 39.12 kB / 1.373 GB, free: 52 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/1.119, allocations: 0.695 MB / 1.374 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000251/1.119, allocations: 171.4 kB / 1.374 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004676/1.119, allocations: 268.8 kB / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/1.121, allocations: 0.9399 MB / 1.375 GB, free: 15.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.121, allocations: 1.125 kB / 1.375 GB, free: 15.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.303e-06/1.121, allocations: 0 / 1.375 GB, free: 15.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.009e-05/1.121, allocations: 0 / 1.375 GB, free: 15.07 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.001919/1.123, allocations: 0.8668 MB / 1.376 GB, free: 14.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.123, allocations: 10 kB / 1.376 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/1.123, allocations: 64.39 kB / 1.376 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/1.124, allocations: 154.4 kB / 1.377 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009972/1.125, allocations: 0.5015 MB / 1.377 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/1.125, allocations: 28.78 kB / 1.377 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-05/1.125, allocations: 27.31 kB / 1.377 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006055/1.126, allocations: 317.5 kB / 1.377 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/1.126, allocations: 1.406 kB / 1.377 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/1.126, allocations: 22.7 kB / 1.377 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/1.126, allocations: 11.84 kB / 1.377 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/1.127, allocations: 223.7 kB / 1.378 GB, free: 13.43 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.002299/1.129, allocations: 1.414 MB / 1.379 GB, free: 12.14 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/1.129, allocations: 219.2 kB / 1.379 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/1.129, allocations: 111.1 kB / 1.379 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/1.13, allocations: 6.312 kB / 1.379 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/1.13, allocations: 163.1 kB / 1.379 GB, free: 11.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=26): time 2.776e-06/1.13, allocations: 0 / 1.379 GB, free: 11.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=29): time 0.003065/1.133, allocations: 1.086 MB / 1.381 GB, free: 11.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/1.133, allocations: 62.75 kB / 1.381 GB, free: 11.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006358/1.134, allocations: 460.4 kB / 1.381 GB, free: 10.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/1.134, allocations: 36.08 kB / 1.381 GB, free: 10.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/1.134, allocations: 238.1 kB / 1.381 GB, free: 10.54 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/1.134, allocations: 104.2 kB / 1.381 GB, free: 10.45 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/1.134, allocations: 71.28 kB / 1.381 GB, free: 10.4 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.134, allocations: 361.6 kB / 1.382 GB, free: 10.05 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/1.135, allocations: 125 kB / 1.382 GB, free: 9.988 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/1.135, allocations: 182.6 kB / 1.382 GB, free: 9.867 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/1.135, allocations: 307.2 kB / 1.382 GB, free: 9.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.135, allocations: 0 / 1.382 GB, free: 9.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001101/1.137, allocations: 493 kB / 1.383 GB, free: 9.414 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.137, allocations: 5.5 kB / 1.383 GB, free: 9.414 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/1.137, allocations: 2.25 kB / 1.383 GB, free: 9.414 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/1.137, allocations: 80.58 kB / 1.383 GB, free: 9.371 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/1.137, allocations: 72.69 kB / 1.383 GB, free: 9.352 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/1.139, allocations: 1.912 MB / 1.385 GB, free: 7.531 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/1.14, allocations: 12.25 kB / 1.385 GB, free: 7.523 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/1.14, allocations: 14.53 kB / 1.385 GB, free: 7.52 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.0002894/1.14, allocations: 197.6 kB / 1.385 GB, free: 7.355 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/1.14, allocations: 49.94 kB / 1.385 GB, free: 7.328 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/1.14, allocations: 58.44 kB / 1.385 GB, free: 7.285 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/1.14, allocations: 3.375 kB / 1.385 GB, free: 7.285 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.14, allocations: 4.922 kB / 1.385 GB, free: 7.281 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.14, allocations: 0.9062 kB / 1.385 GB, free: 7.281 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/1.142, allocations: 0.9556 MB / 1.386 GB, free: 6.551 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.142, allocations: 5 kB / 1.386 GB, free: 6.547 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/1.143, allocations: 61.45 kB / 1.386 GB, free: 6.535 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003207/1.143, allocations: 74.42 kB / 1.386 GB, free: 6.492 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/1.143, allocations: 15.45 kB / 1.386 GB, free: 6.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/1.145, allocations: 1.65 MB / 1.388 GB, free: 4.871 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.145, allocations: 4.062 kB / 1.388 GB, free: 4.867 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/1.146, allocations: 0.5661 MB / 1.388 GB, free: 4.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/1.146, allocations: 153.3 kB / 1.389 GB, free: 4.352 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-05/1.146, allocations: 7.719 kB / 1.389 GB, free: 4.348 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/1.147, allocations: 20.52 kB / 1.389 GB, free: 4.332 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/1.147, allocations: 21.44 kB / 1.389 GB, free: 4.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/1.147, allocations: 10.67 kB / 1.389 GB, free: 4.316 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005022/1.147, allocations: 309.9 kB / 1.389 GB, free: 4.137 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.41e-07/1.147, allocations: 0 / 1.389 GB, free: 4.137 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006865/1.148, allocations: 124.3 kB / 1.389 GB, free: 4.121 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.002699/1.151, allocations: 1.46 MB / 1.391 GB, free: 3.086 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008644/1.152, allocations: 421.3 kB / 1.391 GB, free: 2.828 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.152, allocations: 1.062 kB / 1.391 GB, free: 2.828 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003733/1.152, allocations: 251 kB / 1.391 GB, free: 2.645 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/1.153, allocations: 232 kB / 1.391 GB, free: 2.531 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007042/1.16, allocations: 4.12 MB / 1.395 GB, free: 15.74 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/1.161, allocations: 0.8499 MB / 1.396 GB, free: 14.96 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004676/1.161, allocations: 89.28 kB / 1.396 GB, free: 14.92 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/1.162, allocations: 151.4 kB / 1.396 GB, free: 14.8 MB / 1.092 GB Notification: Performance of SimCode: time 3.196e-06/1.162, allocations: 0 / 1.396 GB, free: 14.8 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03984/1.201, allocations: 13.14 MB / 1.409 GB, free: 7.875 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/11.6, allocations: 4.516 kB / 1.409 GB, free: 7.871 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