Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_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.003783/0.003783, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.001303/0.001303, allocations: 193.3 kB / 16.68 MB, free: 6.363 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.579/2.579, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 79.77 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2599, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002184/0.2622, allocations: 1.254 MB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6145/0.8766, allocations: 137.7 MB / 1.356 GB, free: 7.461 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.8767, allocations: 4 kB / 1.356 GB, free: 7.457 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.8767, allocations: 5.156 kB / 1.356 GB, free: 7.453 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.423e-05/0.8768, allocations: 5.953 kB / 1.356 GB, free: 7.449 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.8779, allocations: 462.2 kB / 1.356 GB, free: 7.289 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.878, allocations: 39.41 kB / 1.356 GB, free: 7.277 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.103e-05/0.878, allocations: 6.828 kB / 1.356 GB, free: 7.273 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.878, allocations: 26.36 kB / 1.356 GB, free: 7.262 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.8781, allocations: 18.67 kB / 1.356 GB, free: 7.254 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.8781, allocations: 2.656 kB / 1.356 GB, free: 7.254 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.8796, allocations: 0.8223 MB / 1.357 GB, free: 7.062 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.8796, allocations: 8.656 kB / 1.357 GB, free: 7.059 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.8796, allocations: 21.39 kB / 1.357 GB, free: 7.047 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005726/0.8802, allocations: 450.5 kB / 1.358 GB, free: 6.941 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.8802, allocations: 0 / 1.358 GB, free: 6.941 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8802, allocations: 0 / 1.358 GB, free: 6.941 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.8802, allocations: 0 / 1.358 GB, free: 6.941 MB / 1.061 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.0004597/0.8807, allocations: 373.2 kB / 1.358 GB, free: 6.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.8807, allocations: 8.406 kB / 1.358 GB, free: 6.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.8808, allocations: 38.16 kB / 1.358 GB, free: 6.527 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.8809, allocations: 19.09 kB / 1.358 GB, free: 6.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.881, allocations: 161.6 kB / 1.358 GB, free: 6.324 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.8811, allocations: 3.188 kB / 1.358 GB, free: 6.324 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.8811, allocations: 15.2 kB / 1.358 GB, free: 6.312 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.8812, allocations: 56.02 kB / 1.358 GB, free: 6.273 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.8812, allocations: 0 / 1.358 GB, free: 6.273 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.8812, allocations: 5.25 kB / 1.358 GB, free: 6.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.8813, allocations: 1.438 kB / 1.358 GB, free: 6.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.734e-05/0.8813, allocations: 23.91 kB / 1.358 GB, free: 6.262 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.8815, allocations: 166.7 kB / 1.358 GB, free: 6.062 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.823e-05/0.8816, allocations: 49.62 kB / 1.358 GB, free: 6.031 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.8816, allocations: 25.22 kB / 1.359 GB, free: 6.012 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.8917, allocations: 3.201 MB / 1.362 GB, free: 5.242 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.8917, allocations: 37.38 kB / 1.362 GB, free: 5.199 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.8917, allocations: 4 kB / 1.362 GB, free: 5.195 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.03823/0.93, allocations: 14.99 MB / 1.376 GB, free: 1.121 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.93, allocations: 52.53 kB / 1.376 GB, free: 1.059 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.621e-05/0.9301, allocations: 99.11 kB / 1.376 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.9301, allocations: 27.14 kB / 1.376 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/0.9302, allocations: 80.14 kB / 1.377 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.9302, allocations: 52.84 kB / 1.377 GB, free: 0.793 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.9303, allocations: 31.02 kB / 1.377 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.9304, allocations: 317.5 kB / 1.377 GB, free: 460 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.9304, allocations: 24.17 kB / 1.377 GB, free: 448 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.9305, allocations: 30.27 kB / 1.377 GB, free: 432 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.9306, allocations: 59.27 kB / 1.377 GB, free: 400 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9306, allocations: 0 / 1.377 GB, free: 400 kB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002018/0.9308, allocations: 114.2 kB / 1.377 GB, free: 324 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.9308, allocations: 5.562 kB / 1.377 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.9308, allocations: 0 / 1.377 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.9309, allocations: 1.062 kB / 1.377 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.931, allocations: 24.92 kB / 1.377 GB, free: 320 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.931, allocations: 1.281 kB / 1.377 GB, free: 320 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.931, allocations: 5.156 kB / 1.377 GB, free: 316 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.931, allocations: 3.844 kB / 1.377 GB, free: 316 kB / 1.061 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.102e-05/0.9311, allocations: 123.9 kB / 1.377 GB, free: 184 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.9312, allocations: 7.781 kB / 1.377 GB, free: 180 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.9314, allocations: 115.6 kB / 1.377 GB, free: 96 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.9314, allocations: 1.312 kB / 1.377 GB, free: 96 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9314, allocations: 4 kB / 1.377 GB, free: 92 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.9314, allocations: 5.328 kB / 1.377 GB, free: 88 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.9316, allocations: 169 kB / 1.378 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9316, allocations: 0 / 1.378 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.9317, allocations: 33.27 kB / 1.378 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9317, allocations: 1.469 kB / 1.378 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.9317, allocations: 5.359 kB / 1.378 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.9317, allocations: 0 / 1.378 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.9318, allocations: 1.375 kB / 1.378 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.932, allocations: 171.6 kB / 1.378 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.9321, allocations: 93.5 kB / 1.378 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.9321, allocations: 5.109 kB / 1.378 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.9323, allocations: 8.25 kB / 1.378 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.9323, allocations: 12.2 kB / 1.378 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.9323, allocations: 4.5 kB / 1.378 GB, free: 15.62 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.9323, allocations: 84.91 kB / 1.378 GB, free: 15.54 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9324, allocations: 0 / 1.378 GB, free: 15.54 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001132/0.9335, allocations: 0.5664 MB / 1.379 GB, free: 15.5 MB / 1.076 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.002963/0.9365, allocations: 0.9336 MB / 1.379 GB, free: 14.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.9366, allocations: 64.17 kB / 1.38 GB, free: 14.76 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.9366, allocations: 0 / 1.38 GB, free: 14.76 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.499e-05/0.9367, allocations: 42.8 kB / 1.38 GB, free: 14.74 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.9368, allocations: 12.47 kB / 1.38 GB, free: 14.73 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.9387, allocations: 1.543 MB / 1.381 GB, free: 13.35 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.939, allocations: 0.6895 MB / 1.382 GB, free: 12.64 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.241e-05/0.939, allocations: 26.62 kB / 1.382 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.9391, allocations: 18.81 kB / 1.382 GB, free: 12.62 MB / 1.076 GB Notification: Performance of SimCode: time 2.2e-07/0.9391, allocations: 0 / 1.382 GB, free: 12.62 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.636/2.575, allocations: 25.47 MB / 1.407 GB, free: 5.988 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/15.11, allocations: 0 / 1.407 GB, free: 5.988 MB / 1.092 GB (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-10 Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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