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.001216/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001171/0.001171, allocations: 192.7 kB / 16.14 MB, free: 6.719 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.477/2.477, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.86 kB / 0.8985 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2398, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002199/0.2421, allocations: 1.333 MB / 1.053 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1241/0.3662, allocations: 135.7 MB / 1.186 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.3663, allocations: 0 / 1.186 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.3663, allocations: 0 / 1.186 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.3664, allocations: 11.92 kB / 1.186 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3675, allocations: 362.8 kB / 1.186 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.212e-05/0.3676, allocations: 43.89 kB / 1.186 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.167e-05/0.3676, allocations: 4 kB / 1.186 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.3677, allocations: 27.86 kB / 1.186 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.3678, allocations: 23.91 kB / 1.186 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.3678, allocations: 0 / 1.186 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.3692, allocations: 0.8153 MB / 1.187 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.3692, allocations: 11.98 kB / 1.187 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.3692, allocations: 15.94 kB / 1.187 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005952/0.3698, allocations: 443.4 kB / 1.188 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3698, allocations: 0 / 1.188 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.81e-07/0.3699, allocations: 3.938 kB / 1.188 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.3699, allocations: 0 / 1.188 GB, free: 12.95 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.0004652/0.3703, allocations: 371.5 kB / 1.188 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3704, allocations: 15.95 kB / 1.188 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.3704, allocations: 34.75 kB / 1.188 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.3706, allocations: 16.84 kB / 1.188 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.698e-05/0.3707, allocations: 168.3 kB / 1.188 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.3707, allocations: 4.312 kB / 1.188 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.3707, allocations: 7.938 kB / 1.188 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.3709, allocations: 53.67 kB / 1.188 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.3709, allocations: 4 kB / 1.188 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3709, allocations: 4 kB / 1.188 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3709, allocations: 0 / 1.188 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.081e-05/0.371, allocations: 19.98 kB / 1.188 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.3711, allocations: 161.7 kB / 1.189 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3712, allocations: 54.44 kB / 1.189 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.928e-05/0.3713, allocations: 21.08 kB / 1.189 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.3815, allocations: 3.174 MB / 1.192 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.3815, allocations: 38.5 kB / 1.192 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.3816, allocations: 0 / 1.192 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.03908/0.4206, allocations: 14.86 MB / 1.206 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.4207, allocations: 55.41 kB / 1.206 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.338e-05/0.4208, allocations: 89.86 kB / 1.206 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.4208, allocations: 33.7 kB / 1.206 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.4208, allocations: 84.12 kB / 1.206 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.4209, allocations: 31.47 kB / 1.207 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.4209, allocations: 29.7 kB / 1.207 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.421, allocations: 322.8 kB / 1.207 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.4211, allocations: 31.98 kB / 1.207 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.629e-05/0.4211, allocations: 27.11 kB / 1.207 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.4213, allocations: 64.84 kB / 1.207 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4213, allocations: 0 / 1.207 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002067/0.4215, allocations: 101.6 kB / 1.207 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4215, allocations: 8 kB / 1.207 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4215, allocations: 0 / 1.207 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4215, allocations: 3.984 kB / 1.207 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.4217, allocations: 31.92 kB / 1.207 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4217, allocations: 0 / 1.207 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.4217, allocations: 0 / 1.207 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.4217, allocations: 15.94 kB / 1.207 GB, free: 8.578 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.71e-05/0.4218, allocations: 117.8 kB / 1.207 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.4219, allocations: 4 kB / 1.207 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.4221, allocations: 129.3 kB / 1.207 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4221, allocations: 8 kB / 1.207 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4222, allocations: 0 / 1.207 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4222, allocations: 0 / 1.207 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.4223, allocations: 177.6 kB / 1.208 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4223, allocations: 0 / 1.208 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.4224, allocations: 27.98 kB / 1.208 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4224, allocations: 0 / 1.208 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.4225, allocations: 0 / 1.208 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.4225, allocations: 8 kB / 1.208 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4225, allocations: 0 / 1.208 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.4227, allocations: 160.9 kB / 1.208 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.4228, allocations: 85.14 kB / 1.208 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.4228, allocations: 4 kB / 1.208 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.423, allocations: 15.92 kB / 1.208 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.423, allocations: 8 kB / 1.208 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.423, allocations: 7.984 kB / 1.208 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.738e-05/0.4231, allocations: 79.28 kB / 1.208 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4231, allocations: 0 / 1.208 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001498/0.4246, allocations: 0.5663 MB / 1.208 GB, free: 7.094 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.003698/0.4283, allocations: 0.9364 MB / 1.209 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.4284, allocations: 66.59 kB / 1.209 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4285, allocations: 4 kB / 1.209 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.151e-05/0.4285, allocations: 35.92 kB / 1.209 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.4287, allocations: 8.781 kB / 1.209 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.4308, allocations: 1.548 MB / 1.211 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.431, allocations: 0.6848 MB / 1.212 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.782e-05/0.4311, allocations: 28.53 kB / 1.212 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.4311, allocations: 15.44 kB / 1.212 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.4311, allocations: 4 kB / 1.212 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8806/1.312, allocations: 25.27 MB / 1.236 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/1.312, allocations: 197 kB / 1.237 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.638/4.95, allocations: 0 / 1.237 GB, free: 10.17 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