Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_10_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.000798/0.0007979, allocations: 90.98 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.005204/0.005204, allocations: 171.4 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.402/2.402, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003183, allocations: 12 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.58/0.5803, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001091/0.5814, allocations: 0.9916 MB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.125/0.7064, allocations: 134.2 MB / 1.155 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.7064, allocations: 0 / 1.155 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.7065, allocations: 3.938 kB / 1.155 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.644e-05/0.7065, allocations: 7.922 kB / 1.155 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.7075, allocations: 374.7 kB / 1.156 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.175e-05/0.7076, allocations: 39.91 kB / 1.156 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.7076, allocations: 7.984 kB / 1.156 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.7077, allocations: 27.86 kB / 1.156 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.01e-05/0.7078, allocations: 19.97 kB / 1.156 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.7078, allocations: 0 / 1.156 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.7092, allocations: 0.8114 MB / 1.156 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.7092, allocations: 15.92 kB / 1.156 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.7092, allocations: 37.69 kB / 1.156 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.7098, allocations: 445.3 kB / 1.157 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.7098, allocations: 4 kB / 1.157 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7098, allocations: 0 / 1.157 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.7098, allocations: 0 / 1.157 GB, free: 6.309 MB / 0.9044 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.0003894/0.7102, allocations: 359.5 kB / 1.157 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.7102, allocations: 12.03 kB / 1.157 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.974e-05/0.7103, allocations: 34.75 kB / 1.157 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.7104, allocations: 12.92 kB / 1.157 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.373e-05/0.7105, allocations: 164.3 kB / 1.157 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.7105, allocations: 8.375 kB / 1.157 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.7106, allocations: 15.84 kB / 1.157 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.7107, allocations: 49.67 kB / 1.158 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.7107, allocations: 0 / 1.158 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.7107, allocations: 4 kB / 1.158 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.7107, allocations: 0 / 1.158 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.7108, allocations: 19.98 kB / 1.158 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.7109, allocations: 161.7 kB / 1.158 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.83e-05/0.711, allocations: 58.44 kB / 1.158 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.711, allocations: 16.86 kB / 1.158 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.7213, allocations: 3.21 MB / 1.161 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.7213, allocations: 38.55 kB / 1.161 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.7213, allocations: 4 kB / 1.161 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.03743/0.7587, allocations: 14.25 MB / 1.175 GB, free: 3.496 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.7588, allocations: 51.41 kB / 1.175 GB, free: 3.434 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.419e-05/0.7588, allocations: 101.8 kB / 1.175 GB, free: 3.324 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.7589, allocations: 29.7 kB / 1.175 GB, free: 3.289 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.7589, allocations: 80.14 kB / 1.175 GB, free: 3.207 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.7589, allocations: 39.41 kB / 1.175 GB, free: 3.168 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.759, allocations: 25.64 kB / 1.175 GB, free: 3.137 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.7591, allocations: 314.8 kB / 1.175 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-05/0.7591, allocations: 31.92 kB / 1.175 GB, free: 2.789 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.905e-05/0.7592, allocations: 23.98 kB / 1.176 GB, free: 2.766 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.7593, allocations: 56.86 kB / 1.176 GB, free: 2.707 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.7593, allocations: 8.125 kB / 1.176 GB, free: 2.699 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001985/0.7595, allocations: 102.7 kB / 1.176 GB, free: 2.594 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.7595, allocations: 4 kB / 1.176 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7595, allocations: 0 / 1.176 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.7596, allocations: 0 / 1.176 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.7597, allocations: 35.92 kB / 1.176 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.7597, allocations: 7.938 kB / 1.176 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.7597, allocations: 0 / 1.176 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.7597, allocations: 8 kB / 1.176 GB, free: 2.539 MB / 0.92 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 9.318e-05/0.7598, allocations: 118.3 kB / 1.176 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.7599, allocations: 4 kB / 1.176 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.7601, allocations: 125.5 kB / 1.176 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.7601, allocations: 0 / 1.176 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.7602, allocations: 0 / 1.176 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7602, allocations: 4 kB / 1.176 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.7603, allocations: 177.6 kB / 1.176 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7603, allocations: 0 / 1.176 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.7604, allocations: 27.98 kB / 1.176 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.7604, allocations: 4 kB / 1.176 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.7604, allocations: 0 / 1.176 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7605, allocations: 0 / 1.176 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7605, allocations: 3.938 kB / 1.176 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.7607, allocations: 160.8 kB / 1.176 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.7608, allocations: 97.05 kB / 1.176 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.7608, allocations: 4 kB / 1.176 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.7609, allocations: 11.98 kB / 1.176 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.761, allocations: 8 kB / 1.176 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.761, allocations: 7.984 kB / 1.176 GB, free: 1.703 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.761, allocations: 75.28 kB / 1.177 GB, free: 1.629 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.761, allocations: 4.094 kB / 1.177 GB, free: 1.625 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00125/0.7623, allocations: 0.5663 MB / 1.177 GB, free: 1.059 MB / 0.92 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.003157/0.7655, allocations: 0.9365 MB / 1.178 GB, free: 92 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.7656, allocations: 67.8 kB / 1.178 GB, free: 28 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7656, allocations: 0 / 1.178 GB, free: 28 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.058e-05/0.7657, allocations: 35.97 kB / 1.178 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.7659, allocations: 12.66 kB / 1.178 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.768, allocations: 1.606 MB / 1.18 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.7683, allocations: 0.6809 MB / 1.18 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.021e-05/0.7684, allocations: 28.53 kB / 1.18 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.7684, allocations: 19.44 kB / 1.18 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.7684, allocations: 0 / 1.18 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9858/1.754, allocations: 25.2 MB / 1.205 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/1.754, allocations: 196.9 kB / 1.205 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.793/4.547, allocations: 0 / 1.205 GB, free: 4.164 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 Buildings_10_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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