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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 112.1 kB / 17.54 MB, free: 4.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.499/2.499, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 67.89 kB / 1.107 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8595/0.8613, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002027/0.8634, allocations: 1.279 MB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1545/1.018, allocations: 138.1 MB / 1.407 GB, free: 1.355 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/1.018, allocations: 0 / 1.407 GB, free: 1.355 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/1.018, allocations: 5.547 kB / 1.407 GB, free: 1.352 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 5.552e-05/1.018, allocations: 3.938 kB / 1.407 GB, free: 1.348 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/1.019, allocations: 473.3 kB / 1.408 GB, free: 1.012 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/1.019, allocations: 40.06 kB / 1.408 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.091e-05/1.019, allocations: 1.562 kB / 1.408 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/1.019, allocations: 23.83 kB / 1.408 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/1.019, allocations: 22.12 kB / 1.408 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/1.019, allocations: 2.969 kB / 1.408 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/1.021, allocations: 0.8274 MB / 1.409 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/1.021, allocations: 6.234 kB / 1.409 GB, free: 0.5312 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/1.021, allocations: 18.89 kB / 1.409 GB, free: 0.5195 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0005473/1.021, allocations: 445.8 kB / 1.409 GB, free: 244 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/1.021, allocations: 1.312 kB / 1.409 GB, free: 244 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.423e-06/1.021, allocations: 0 / 1.409 GB, free: 244 kB / 1.092 GB Notification: Performance of Transformations before backend: time 4.529e-06/1.021, allocations: 4 kB / 1.409 GB, free: 240 kB / 1.092 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.0004938/1.022, allocations: 369.3 kB / 1.41 GB, free: 15.86 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/1.022, allocations: 13.11 kB / 1.41 GB, free: 15.85 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/1.022, allocations: 37.06 kB / 1.41 GB, free: 15.81 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/1.022, allocations: 8.125 kB / 1.41 GB, free: 15.81 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/1.022, allocations: 169.6 kB / 1.41 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/1.022, allocations: 2.562 kB / 1.41 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/1.022, allocations: 11.38 kB / 1.41 GB, free: 15.6 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/1.022, allocations: 61.8 kB / 1.41 GB, free: 15.54 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/1.022, allocations: 1.438 kB / 1.41 GB, free: 15.54 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/1.022, allocations: 0 / 1.41 GB, free: 15.54 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.022, allocations: 1.281 kB / 1.41 GB, free: 15.54 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.788e-05/1.022, allocations: 21.8 kB / 1.41 GB, free: 15.53 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/1.023, allocations: 169.7 kB / 1.41 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 9.928e-05/1.023, allocations: 46.03 kB / 1.41 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/1.023, allocations: 22.91 kB / 1.41 GB, free: 15.27 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/1.034, allocations: 3.2 MB / 1.413 GB, free: 13.69 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/1.034, allocations: 35.61 kB / 1.413 GB, free: 13.65 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/1.034, allocations: 0 / 1.413 GB, free: 13.65 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.04132/1.075, allocations: 15 MB / 1.428 GB, free: 4.016 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/1.075, allocations: 55.41 kB / 1.428 GB, free: 3.949 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/1.075, allocations: 93.86 kB / 1.428 GB, free: 3.848 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/1.075, allocations: 25.7 kB / 1.428 GB, free: 3.816 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/1.075, allocations: 88.08 kB / 1.428 GB, free: 3.727 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/1.075, allocations: 43.64 kB / 1.428 GB, free: 3.684 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/1.075, allocations: 33.83 kB / 1.428 GB, free: 3.645 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.075, allocations: 322.8 kB / 1.429 GB, free: 3.32 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/1.075, allocations: 19.98 kB / 1.429 GB, free: 3.301 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.227e-05/1.075, allocations: 23.98 kB / 1.429 GB, free: 3.277 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/1.076, allocations: 60.86 kB / 1.429 GB, free: 3.215 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/1.076, allocations: 0 / 1.429 GB, free: 3.215 MB / 1.107 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002135/1.076, allocations: 109.6 kB / 1.429 GB, free: 3.102 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.076, allocations: 4 kB / 1.429 GB, free: 3.098 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.076, allocations: 4 kB / 1.429 GB, free: 3.094 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.076, allocations: 4 kB / 1.429 GB, free: 3.09 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/1.076, allocations: 23.98 kB / 1.429 GB, free: 3.066 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.076, allocations: 0 / 1.429 GB, free: 3.066 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/1.076, allocations: 4 kB / 1.429 GB, free: 3.062 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/1.076, allocations: 4 kB / 1.429 GB, free: 3.059 MB / 1.107 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.62e-05/1.076, allocations: 125.7 kB / 1.429 GB, free: 2.926 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/1.076, allocations: 3.984 kB / 1.429 GB, free: 2.922 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/1.076, allocations: 125.5 kB / 1.429 GB, free: 2.789 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.076, allocations: 7.984 kB / 1.429 GB, free: 2.781 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/1.076, allocations: 0 / 1.429 GB, free: 2.781 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.076, allocations: 0 / 1.429 GB, free: 2.781 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/1.076, allocations: 181.6 kB / 1.429 GB, free: 2.555 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.076, allocations: 0 / 1.429 GB, free: 2.555 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/1.077, allocations: 31.86 kB / 1.429 GB, free: 2.523 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/1.077, allocations: 4 kB / 1.429 GB, free: 2.52 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/1.077, allocations: 4 kB / 1.429 GB, free: 2.516 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.077, allocations: 8 kB / 1.429 GB, free: 2.508 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/1.077, allocations: 0 / 1.429 GB, free: 2.508 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/1.077, allocations: 152.9 kB / 1.429 GB, free: 2.34 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/1.077, allocations: 93.09 kB / 1.43 GB, free: 2.23 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/1.077, allocations: 0 / 1.43 GB, free: 2.23 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/1.077, allocations: 15.98 kB / 1.43 GB, free: 2.215 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/1.077, allocations: 8 kB / 1.43 GB, free: 2.207 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/1.077, allocations: 7.984 kB / 1.43 GB, free: 2.199 MB / 1.107 GB Notification: Performance of sorting global known variables: time 3.404e-05/1.077, allocations: 79.28 kB / 1.43 GB, free: 2.121 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/1.077, allocations: 0 / 1.43 GB, free: 2.121 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001717/1.079, allocations: 0.566 MB / 1.43 GB, free: 1.555 MB / 1.107 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.003326/1.082, allocations: 0.9441 MB / 1.431 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001627/1.082, allocations: 63.91 kB / 1.431 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.082, allocations: 0 / 1.431 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 5.833e-05/1.082, allocations: 31.94 kB / 1.431 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/1.083, allocations: 13.64 kB / 1.431 GB, free: 492 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/1.085, allocations: 1.54 MB / 1.433 GB, free: 14.86 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/1.085, allocations: 0.6928 MB / 1.433 GB, free: 14.14 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 7.431e-05/1.085, allocations: 24.55 kB / 1.433 GB, free: 14.12 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/1.085, allocations: 19.44 kB / 1.433 GB, free: 14.1 MB / 1.123 GB Notification: Performance of SimCode: time 4.11e-07/1.085, allocations: 0 / 1.433 GB, free: 14.1 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05453/1.14, allocations: 25.45 MB / 1.458 GB, free: 4.695 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.787, allocations: 11.34 kB / 1.458 GB, free: 4.691 MB / 1.139 GB " [Timeout remaining time 291] (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) [Timeout 420.0] 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) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[502]=1.000000 File[123]=0.244000 " [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 20.416892204999385]