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.00186/0.00186, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002976/0.002976, allocations: 200.5 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.545/2.545, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.415/3.415, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 66.33 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2545, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002296/0.2568, allocations: 1.317 MB / 1.054 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1588/0.4156, allocations: 135.7 MB / 1.186 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.4157, allocations: 0 / 1.186 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.4157, allocations: 0 / 1.186 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.495e-05/0.4159, allocations: 7.938 kB / 1.186 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.4178, allocations: 406.8 kB / 1.187 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.418, allocations: 39.92 kB / 1.187 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.633e-05/0.4181, allocations: 0 / 1.187 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.4182, allocations: 27.84 kB / 1.187 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.4183, allocations: 15.98 kB / 1.187 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.4183, allocations: 3.984 kB / 1.187 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.4202, allocations: 0.8075 MB / 1.187 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.4203, allocations: 19.92 kB / 1.188 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.4204, allocations: 19.92 kB / 1.188 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008908/0.4213, allocations: 443.4 kB / 1.188 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4213, allocations: 0 / 1.188 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4213, allocations: 0 / 1.188 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.4213, allocations: 0 / 1.188 GB, free: 13.35 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.0007138/0.422, allocations: 371.4 kB / 1.188 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.064e-05/0.4221, allocations: 12.62 kB / 1.188 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.428e-05/0.4222, allocations: 34.75 kB / 1.188 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.4225, allocations: 20.83 kB / 1.188 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.4226, allocations: 168.3 kB / 1.189 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.4226, allocations: 4.375 kB / 1.189 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.4227, allocations: 15.88 kB / 1.189 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.4229, allocations: 53.66 kB / 1.189 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4229, allocations: 3.984 kB / 1.189 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.4229, allocations: 4 kB / 1.189 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4229, allocations: 0 / 1.189 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.535e-05/0.423, allocations: 15.98 kB / 1.189 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.4233, allocations: 169.7 kB / 1.189 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.4234, allocations: 54.44 kB / 1.189 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.4234, allocations: 16.86 kB / 1.189 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.4341, allocations: 3.174 MB / 1.192 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.4342, allocations: 34.56 kB / 1.192 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 2.033e-06/0.4342, allocations: 0 / 1.192 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.04642/0.4806, allocations: 14.85 MB / 1.206 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.4807, allocations: 51.41 kB / 1.207 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.252e-05/0.4808, allocations: 93.86 kB / 1.207 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.4808, allocations: 29.7 kB / 1.207 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.4808, allocations: 88.2 kB / 1.207 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.4809, allocations: 35.45 kB / 1.207 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.481, allocations: 37.7 kB / 1.207 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4811, allocations: 314.8 kB / 1.207 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.605e-05/0.4811, allocations: 23.98 kB / 1.207 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.4812, allocations: 34.67 kB / 1.207 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.4813, allocations: 52.86 kB / 1.207 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4813, allocations: 0 / 1.207 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002192/0.4815, allocations: 109.6 kB / 1.207 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4816, allocations: 11.94 kB / 1.207 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4816, allocations: 3.984 kB / 1.207 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4816, allocations: 0 / 1.207 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.4817, allocations: 35.92 kB / 1.207 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4817, allocations: 0 / 1.207 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.4818, allocations: 0 / 1.207 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.4818, allocations: 8 kB / 1.207 GB, free: 8.977 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 8.225e-05/0.4819, allocations: 117.8 kB / 1.207 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.4819, allocations: 4 kB / 1.207 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.4822, allocations: 129.4 kB / 1.208 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4822, allocations: 0 / 1.208 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4822, allocations: 0 / 1.208 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4823, allocations: 0 / 1.208 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.4824, allocations: 177.6 kB / 1.208 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4824, allocations: 4 kB / 1.208 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.4825, allocations: 31.92 kB / 1.208 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4826, allocations: 0 / 1.208 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4826, allocations: 7.938 kB / 1.208 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4826, allocations: 0 / 1.208 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.4826, allocations: 3.984 kB / 1.208 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.4829, allocations: 157 kB / 1.208 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.894e-05/0.483, allocations: 89.14 kB / 1.208 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.483, allocations: 7.984 kB / 1.208 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.4831, allocations: 8 kB / 1.208 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.4832, allocations: 16.06 kB / 1.208 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.4832, allocations: 4 kB / 1.208 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.437e-05/0.4833, allocations: 75.28 kB / 1.208 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4833, allocations: 4 kB / 1.208 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002216/0.4855, allocations: 0.5624 MB / 1.209 GB, free: 7.492 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.003986/0.4895, allocations: 0.943 MB / 1.21 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.4897, allocations: 67.92 kB / 1.21 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4898, allocations: 3.938 kB / 1.21 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.596e-05/0.4898, allocations: 35.98 kB / 1.21 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.4901, allocations: 9.688 kB / 1.21 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.4931, allocations: 1.543 MB / 1.211 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.4935, allocations: 0.6963 MB / 1.212 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.4937, allocations: 20.55 kB / 1.212 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/0.4938, allocations: 27.42 kB / 1.212 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.4938, allocations: 0 / 1.212 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.118/1.611, allocations: 25.33 MB / 1.237 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004203/1.612, allocations: 207.3 kB / 1.237 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.474/8.086, allocations: 3.938 kB / 1.237 GB, free: 10.5 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