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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.869/2.869, allocations: 476.7 MB / 0.7678 GB, free: 9.516 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 64.19 kB / 1.113 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9628/0.9651, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002756/0.9678, allocations: 1.287 MB / 1.28 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1913/1.159, allocations: 140.9 MB / 1.418 GB, free: 13.73 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/1.159, allocations: 0 / 1.418 GB, free: 13.73 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/1.159, allocations: 3.984 kB / 1.418 GB, free: 13.73 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/1.159, allocations: 3.938 kB / 1.418 GB, free: 13.73 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/1.161, allocations: 464.2 kB / 1.418 GB, free: 13.27 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 9.163e-05/1.161, allocations: 43.84 kB / 1.418 GB, free: 13.23 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/1.161, allocations: 7.984 kB / 1.418 GB, free: 13.22 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.518e-05/1.161, allocations: 19.94 kB / 1.418 GB, free: 13.2 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/1.161, allocations: 19.97 kB / 1.418 GB, free: 13.18 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/1.161, allocations: 7.938 kB / 1.418 GB, free: 13.18 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/1.163, allocations: 0.8348 MB / 1.419 GB, free: 12.34 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/1.163, allocations: 8 kB / 1.419 GB, free: 12.33 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/1.163, allocations: 23.91 kB / 1.419 GB, free: 12.31 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0005977/1.163, allocations: 443 kB / 1.42 GB, free: 11.88 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.163, allocations: 3.938 kB / 1.42 GB, free: 11.87 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.094e-06/1.163, allocations: 0 / 1.42 GB, free: 11.87 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.163, allocations: 0 / 1.42 GB, free: 11.87 MB / 1.107 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.0006397/1.164, allocations: 375.2 kB / 1.42 GB, free: 11.46 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.164, allocations: 8.031 kB / 1.42 GB, free: 11.45 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.423e-05/1.164, allocations: 192 / 1.42 GB, free: 11.45 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/1.164, allocations: 42.69 kB / 1.42 GB, free: 11.4 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/1.164, allocations: 16.88 kB / 1.42 GB, free: 11.38 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/1.164, allocations: 164.3 kB / 1.42 GB, free: 11.18 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/1.164, allocations: 4.125 kB / 1.42 GB, free: 11.18 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/1.164, allocations: 8 kB / 1.42 GB, free: 11.17 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/1.164, allocations: 57.66 kB / 1.42 GB, free: 11.11 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.164, allocations: 11.98 kB / 1.42 GB, free: 11.1 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/1.165, allocations: 4 kB / 1.42 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/1.165, allocations: 0 / 1.42 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.234e-05/1.165, allocations: 15.98 kB / 1.42 GB, free: 11.08 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/1.165, allocations: 169.6 kB / 1.42 GB, free: 10.86 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/1.165, allocations: 50.5 kB / 1.421 GB, free: 10.8 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/1.165, allocations: 12.86 kB / 1.421 GB, free: 10.79 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/1.177, allocations: 3.197 MB / 1.424 GB, free: 7.496 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/1.177, allocations: 42.56 kB / 1.424 GB, free: 7.445 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/1.177, allocations: 3.938 kB / 1.424 GB, free: 7.441 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.04369/1.221, allocations: 15 MB / 1.438 GB, free: 8.289 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/1.221, allocations: 55.41 kB / 1.438 GB, free: 8.223 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.241e-05/1.221, allocations: 97.84 kB / 1.438 GB, free: 8.117 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/1.221, allocations: 29.7 kB / 1.439 GB, free: 8.082 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/1.221, allocations: 80.14 kB / 1.439 GB, free: 8 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/1.221, allocations: 39.67 kB / 1.439 GB, free: 7.961 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/1.221, allocations: 33.72 kB / 1.439 GB, free: 7.922 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.221, allocations: 318.8 kB / 1.439 GB, free: 7.602 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/1.221, allocations: 28.11 kB / 1.439 GB, free: 7.574 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.639e-05/1.221, allocations: 30.81 kB / 1.439 GB, free: 7.547 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/1.221, allocations: 56.84 kB / 1.439 GB, free: 7.488 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/1.221, allocations: 0 / 1.439 GB, free: 7.488 MB / 1.123 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002331/1.221, allocations: 109.6 kB / 1.439 GB, free: 7.375 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.221, allocations: 4 kB / 1.439 GB, free: 7.371 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.221, allocations: 0 / 1.439 GB, free: 7.371 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.221, allocations: 3.984 kB / 1.439 GB, free: 7.367 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/1.222, allocations: 24 kB / 1.439 GB, free: 7.344 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.222, allocations: 3.938 kB / 1.439 GB, free: 7.34 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/1.222, allocations: 4 kB / 1.439 GB, free: 7.336 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/1.222, allocations: 15.98 kB / 1.439 GB, free: 7.32 MB / 1.123 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.85e-05/1.222, allocations: 121.8 kB / 1.439 GB, free: 7.191 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.84e-05/1.222, allocations: 11.89 kB / 1.439 GB, free: 7.18 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/1.222, allocations: 121.6 kB / 1.439 GB, free: 7.051 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.222, allocations: 3.938 kB / 1.439 GB, free: 7.047 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.222, allocations: 0 / 1.439 GB, free: 7.047 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/1.222, allocations: 0 / 1.439 GB, free: 7.047 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/1.222, allocations: 173.6 kB / 1.44 GB, free: 6.828 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.222, allocations: 0 / 1.44 GB, free: 6.828 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/1.222, allocations: 27.98 kB / 1.44 GB, free: 6.801 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.222, allocations: 0 / 1.44 GB, free: 6.801 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/1.222, allocations: 4 kB / 1.44 GB, free: 6.797 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.222, allocations: 3.938 kB / 1.44 GB, free: 6.793 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/1.222, allocations: 0 / 1.44 GB, free: 6.793 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/1.223, allocations: 160.9 kB / 1.44 GB, free: 6.617 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/1.223, allocations: 89.14 kB / 1.44 GB, free: 6.512 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/1.223, allocations: 0 / 1.44 GB, free: 6.512 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/1.223, allocations: 11.98 kB / 1.44 GB, free: 6.5 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/1.223, allocations: 15.92 kB / 1.44 GB, free: 6.484 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/1.223, allocations: 4 kB / 1.44 GB, free: 6.48 MB / 1.123 GB Notification: Performance of sorting global known variables: time 3.935e-05/1.223, allocations: 79.28 kB / 1.44 GB, free: 6.402 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.223, allocations: 4 kB / 1.44 GB, free: 6.398 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00197/1.225, allocations: 0.5699 MB / 1.441 GB, free: 5.828 MB / 1.123 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.00386/1.229, allocations: 0.9417 MB / 1.441 GB, free: 4.859 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.000204/1.229, allocations: 64.34 kB / 1.442 GB, free: 4.797 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.229, allocations: 4 kB / 1.442 GB, free: 4.793 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/1.229, allocations: 31.92 kB / 1.442 GB, free: 4.762 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/1.229, allocations: 8 kB / 1.442 GB, free: 4.754 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/1.232, allocations: 1.559 MB / 1.443 GB, free: 3.117 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/1.232, allocations: 0.6814 MB / 1.444 GB, free: 2.41 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 8.44e-05/1.232, allocations: 28.53 kB / 1.444 GB, free: 2.383 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/1.232, allocations: 23.44 kB / 1.444 GB, free: 2.359 MB / 1.123 GB Notification: Performance of SimCode: time 4.8e-07/1.232, allocations: 0 / 1.444 GB, free: 2.359 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05506/1.287, allocations: 25.52 MB / 1.469 GB, free: 8.898 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.405/10.69, allocations: 17.8 kB / 1.469 GB, free: 8.883 MB / 1.154 GB " [Timeout remaining time 289] (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 --stepSize=0.0004 --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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 26.415829743957147]