Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",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.0008804/0.0008804, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005121/0.005121, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.289/1.289, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.496/2.496, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 11.44 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.273, allocations: 159.6 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001262/0.2743, allocations: 0.9977 MB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1344/0.4087, allocations: 134.2 MB / 1.191 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.4088, allocations: 0 / 1.191 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.4088, allocations: 0 / 1.191 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.355e-05/0.4088, allocations: 7.922 kB / 1.191 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.4099, allocations: 370.8 kB / 1.191 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.31e-05/0.41, allocations: 43.89 kB / 1.191 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.05e-05/0.41, allocations: 0 / 1.191 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.4101, allocations: 23.86 kB / 1.191 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.308e-05/0.4101, allocations: 19.97 kB / 1.191 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.4101, allocations: 0 / 1.191 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.4115, allocations: 0.8154 MB / 1.192 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.4115, allocations: 15.86 kB / 1.192 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.4116, allocations: 45.62 kB / 1.192 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005614/0.4122, allocations: 443.4 kB / 1.193 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4122, allocations: 4 kB / 1.193 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4122, allocations: 0 / 1.193 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.4122, allocations: 0 / 1.193 GB, free: 11.41 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004232/0.4126, allocations: 355.5 kB / 1.193 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.4127, allocations: 15.95 kB / 1.193 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.4127, allocations: 34.75 kB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.4129, allocations: 16.84 kB / 1.193 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.154e-05/0.413, allocations: 168.3 kB / 1.193 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.413, allocations: 384 / 1.193 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.413, allocations: 11.94 kB / 1.193 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.4131, allocations: 61.59 kB / 1.193 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.4131, allocations: 0 / 1.193 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4132, allocations: 4 kB / 1.193 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4132, allocations: 3.984 kB / 1.193 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.758e-05/0.4132, allocations: 19.97 kB / 1.193 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.4134, allocations: 161.7 kB / 1.193 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.199e-05/0.4135, allocations: 58.5 kB / 1.193 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.4135, allocations: 28.78 kB / 1.193 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/0.424, allocations: 3.198 MB / 1.197 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.424, allocations: 34.56 kB / 1.197 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.424, allocations: 0 / 1.197 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.03673/0.4608, allocations: 14.25 MB / 1.21 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.4608, allocations: 51.41 kB / 1.211 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.147e-05/0.4609, allocations: 93.86 kB / 1.211 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.4609, allocations: 33.83 kB / 1.211 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.4609, allocations: 80.14 kB / 1.211 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.461, allocations: 35.45 kB / 1.211 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.461, allocations: 21.7 kB / 1.211 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.4611, allocations: 322.8 kB / 1.211 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.4612, allocations: 23.98 kB / 1.211 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.718e-05/0.4612, allocations: 19.98 kB / 1.211 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.4613, allocations: 71.91 kB / 1.211 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4613, allocations: 0 / 1.211 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002036/0.4615, allocations: 109.6 kB / 1.211 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4616, allocations: 11.94 kB / 1.211 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4616, allocations: 0 / 1.211 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.4616, allocations: 3.938 kB / 1.211 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.4617, allocations: 31.92 kB / 1.211 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4617, allocations: 3.984 kB / 1.211 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.4618, allocations: 0 / 1.211 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.4618, allocations: 4 kB / 1.211 GB, free: 7.637 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.874e-05/0.4618, allocations: 121.8 kB / 1.211 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.4619, allocations: 8 kB / 1.211 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.4621, allocations: 113.5 kB / 1.212 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4622, allocations: 7.938 kB / 1.212 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4622, allocations: 0 / 1.212 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4622, allocations: 0 / 1.212 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.4623, allocations: 181.6 kB / 1.212 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4623, allocations: 0 / 1.212 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.4624, allocations: 27.98 kB / 1.212 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4624, allocations: 4 kB / 1.212 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.4625, allocations: 3.938 kB / 1.212 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4625, allocations: 4 kB / 1.212 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4625, allocations: 3.984 kB / 1.212 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.4627, allocations: 149 kB / 1.212 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.4628, allocations: 93.05 kB / 1.212 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.4628, allocations: 7.984 kB / 1.212 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.463, allocations: 8 kB / 1.212 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.463, allocations: 7.984 kB / 1.212 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.463, allocations: 8 kB / 1.212 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.744e-05/0.463, allocations: 83.22 kB / 1.212 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.463, allocations: 0 / 1.212 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001512/0.4646, allocations: 0.5625 MB / 1.213 GB, free: 6.156 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003353/0.4679, allocations: 0.9402 MB / 1.214 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.4681, allocations: 67.91 kB / 1.214 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4681, allocations: 0 / 1.214 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.855e-05/0.4681, allocations: 40.36 kB / 1.214 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.4683, allocations: 4.219 kB / 1.214 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.4704, allocations: 1.602 MB / 1.215 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.4706, allocations: 0.6887 MB / 1.216 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.943e-05/0.4707, allocations: 20.55 kB / 1.216 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.4708, allocations: 27.42 kB / 1.216 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.4708, allocations: 0 / 1.216 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2282/0.699, allocations: 25.19 MB / 1.241 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003286/0.6994, allocations: 202.3 kB / 1.241 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.355/4.054, allocations: 4.062 kB / 1.241 GB, free: 9.273 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[502]=1.000000 File[406]=0.405000 " Variables in the reference:time,der(hVapSym),der(hVapCod),der(cpSym),der(cpCod),der(cvSym),der(cvCod) Variables in the result:T,cpCod,cpSym,cvCod,cvSym,der(T),der(cpCod),der(cpSym),der(cvCod),der(cvSym),der(hVapCod),der(hVapSym),hVapCod,hVapSym,time