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.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.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.001328/0.001328, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.464/2.464, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 71.78 kB / 0.8992 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2673, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002251/0.2696, allocations: 1.268 MB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1424/0.4121, allocations: 137.7 MB / 1.189 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.4121, allocations: 0 / 1.189 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.4122, allocations: 3.938 kB / 1.189 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.068e-05/0.4123, allocations: 7.984 kB / 1.189 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.4136, allocations: 454.3 kB / 1.189 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.48e-05/0.4137, allocations: 39.91 kB / 1.189 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.4137, allocations: 4 kB / 1.189 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.801e-05/0.4138, allocations: 31.84 kB / 1.189 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.658e-05/0.4138, allocations: 11.98 kB / 1.189 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.4139, allocations: 0 / 1.189 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.4152, allocations: 0.8115 MB / 1.19 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.4152, allocations: 11.91 kB / 1.19 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.882e-05/0.4152, allocations: 19.88 kB / 1.19 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.4157, allocations: 443.4 kB / 1.19 GB, free: 11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4158, allocations: 0 / 1.19 GB, free: 11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4158, allocations: 0 / 1.19 GB, free: 11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4158, allocations: 0 / 1.19 GB, free: 11 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.0004596/0.4162, allocations: 375.4 kB / 1.191 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4163, allocations: 8.625 kB / 1.191 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.4163, allocations: 38.75 kB / 1.191 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.4165, allocations: 16.83 kB / 1.191 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.567e-05/0.4166, allocations: 168.3 kB / 1.191 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.4166, allocations: 384 / 1.191 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.4166, allocations: 11.94 kB / 1.191 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.4168, allocations: 53.67 kB / 1.191 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4168, allocations: 3.938 kB / 1.191 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.4168, allocations: 0 / 1.191 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.4168, allocations: 4 kB / 1.191 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.125e-05/0.4169, allocations: 19.97 kB / 1.191 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.417, allocations: 161.7 kB / 1.191 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.4172, allocations: 54.5 kB / 1.191 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.4172, allocations: 16.84 kB / 1.191 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.4279, allocations: 3.174 MB / 1.194 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.428, allocations: 34.5 kB / 1.194 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.428, allocations: 0 / 1.194 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.04016/0.4682, allocations: 14.87 MB / 1.209 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.4682, allocations: 55.41 kB / 1.209 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.723e-05/0.4683, allocations: 97.86 kB / 1.209 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4683, allocations: 25.7 kB / 1.209 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.4684, allocations: 80.14 kB / 1.209 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.4684, allocations: 39.45 kB / 1.209 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.4684, allocations: 33.7 kB / 1.209 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.4685, allocations: 314.8 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.165e-05/0.4686, allocations: 27.98 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.477e-05/0.4687, allocations: 27.11 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.4688, allocations: 56.86 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4688, allocations: 8.062 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001983/0.469, allocations: 109.6 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.469, allocations: 9.656 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.469, allocations: 3.984 kB / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.469, allocations: 0 / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4692, allocations: 27.92 kB / 1.21 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4692, allocations: 4 kB / 1.21 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/0.4692, allocations: 4 kB / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.4692, allocations: 4 kB / 1.21 GB, free: 6.633 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.104e-05/0.4693, allocations: 121.7 kB / 1.21 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.4693, allocations: 4 kB / 1.21 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.4696, allocations: 121.6 kB / 1.21 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4696, allocations: 0 / 1.21 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4696, allocations: 0 / 1.21 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4696, allocations: 7.984 kB / 1.21 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.4697, allocations: 177.6 kB / 1.21 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4698, allocations: 3.984 kB / 1.21 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.4699, allocations: 23.94 kB / 1.21 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4699, allocations: 4 kB / 1.21 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4699, allocations: 11.92 kB / 1.21 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4699, allocations: 0 / 1.21 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4699, allocations: 0 / 1.21 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.4702, allocations: 157 kB / 1.21 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.4702, allocations: 93.12 kB / 1.21 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.4703, allocations: 4 kB / 1.21 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.4704, allocations: 12 kB / 1.21 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.4704, allocations: 7.984 kB / 1.21 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4705, allocations: 4 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.569e-05/0.4705, allocations: 79.22 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4705, allocations: 8.031 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001402/0.4719, allocations: 0.5624 MB / 1.211 GB, free: 5.145 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.00292/0.4748, allocations: 0.9364 MB / 1.212 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.475, allocations: 79.09 kB / 1.212 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.475, allocations: 0 / 1.212 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.822e-05/0.4751, allocations: 31.94 kB / 1.212 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.4753, allocations: 15.98 kB / 1.212 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.4772, allocations: 1.532 MB / 1.214 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.4775, allocations: 0.6846 MB / 1.214 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.995e-05/0.4776, allocations: 24.53 kB / 1.214 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.4776, allocations: 19.44 kB / 1.214 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.4776, allocations: 0 / 1.214 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9742/1.452, allocations: 25.41 MB / 1.239 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.59, allocations: 15.86 kB / 1.239 GB, free: 8.301 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