Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001456/0.001456, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001609/0.001609, allocations: 218.9 kB / 23.01 MB, free: 4.609 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.336/1.336, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.923/2.923, allocations: 0.49 GB / 0.7958 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") [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.001881/0.001881, allocations: 64.17 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2828, allocations: 176.1 MB / 1.327 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002155/0.285, allocations: 1.285 MB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.152/0.437, allocations: 141 MB / 1.466 GB, free: 2.68 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.437, allocations: 0 / 1.466 GB, free: 2.68 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.437, allocations: 3.984 kB / 1.466 GB, free: 2.676 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.4371, allocations: 7.922 kB / 1.466 GB, free: 2.668 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.4382, allocations: 478.3 kB / 1.466 GB, free: 2.199 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 7.798e-05/0.4383, allocations: 35.92 kB / 1.467 GB, free: 2.164 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.4383, allocations: 3.984 kB / 1.467 GB, free: 2.16 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.123e-05/0.4384, allocations: 23.91 kB / 1.467 GB, free: 2.137 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.869e-05/0.4384, allocations: 19.92 kB / 1.467 GB, free: 2.117 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.4385, allocations: 4 kB / 1.467 GB, free: 2.113 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.4399, allocations: 0.8348 MB / 1.467 GB, free: 1.277 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.4399, allocations: 11.98 kB / 1.467 GB, free: 1.266 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.4399, allocations: 19.92 kB / 1.467 GB, free: 1.246 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0005419/0.4404, allocations: 451 kB / 1.468 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4405, allocations: 0 / 1.468 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4405, allocations: 0 / 1.468 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.4405, allocations: 0 / 1.468 GB, free: 0.8047 MB / 1.154 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.0004554/0.4409, allocations: 298.1 kB / 1.468 GB, free: 496 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.4409, allocations: 8.031 kB / 1.468 GB, free: 488 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.4411, allocations: 16.86 kB / 1.468 GB, free: 472 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.973e-05/0.4412, allocations: 106.5 kB / 1.468 GB, free: 340 kB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.4412, allocations: 8.375 kB / 1.468 GB, free: 332 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.4412, allocations: 8.125 kB / 1.468 GB, free: 324 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.4414, allocations: 53.67 kB / 1.468 GB, free: 264 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.4414, allocations: 0 / 1.468 GB, free: 264 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4414, allocations: 4 kB / 1.468 GB, free: 260 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.4414, allocations: 0 / 1.468 GB, free: 260 kB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.577e-05/0.4414, allocations: 15.98 kB / 1.468 GB, free: 244 kB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.4416, allocations: 144.7 kB / 1.468 GB, free: 56 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.4417, allocations: 50.5 kB / 1.469 GB, free: 16 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.4417, allocations: 16.8 kB / 1.469 GB, free: 15.98 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.4523, allocations: 2.868 MB / 1.471 GB, free: 13.11 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4523, allocations: 38.56 kB / 1.471 GB, free: 13.06 MB / 1.17 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.4523, allocations: 0 / 1.471 GB, free: 13.06 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.03921/0.4915, allocations: 14.92 MB / 1.486 GB, free: 14 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.4916, allocations: 55.34 kB / 1.486 GB, free: 13.94 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.4916, allocations: 101.8 kB / 1.486 GB, free: 13.83 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.4917, allocations: 29.7 kB / 1.486 GB, free: 13.79 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.4917, allocations: 80.14 kB / 1.486 GB, free: 13.71 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.4917, allocations: 39.62 kB / 1.486 GB, free: 13.67 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.4918, allocations: 37.8 kB / 1.486 GB, free: 13.63 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4919, allocations: 322.8 kB / 1.487 GB, free: 13.3 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.492, allocations: 24 kB / 1.487 GB, free: 13.28 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.492, allocations: 24.86 kB / 1.487 GB, free: 13.26 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.4921, allocations: 61.72 kB / 1.487 GB, free: 13.2 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4921, allocations: 0 / 1.487 GB, free: 13.2 MB / 1.186 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002111/0.4923, allocations: 103.8 kB / 1.487 GB, free: 13.09 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4923, allocations: 4 kB / 1.487 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.4924, allocations: 0 / 1.487 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4924, allocations: 4 kB / 1.487 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.4925, allocations: 27.98 kB / 1.487 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4925, allocations: 0 / 1.487 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.566e-05/0.4925, allocations: 4 kB / 1.487 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.4925, allocations: 4 kB / 1.487 GB, free: 13.05 MB / 1.186 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.925e-05/0.4926, allocations: 122.3 kB / 1.487 GB, free: 12.92 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.4927, allocations: 7.953 kB / 1.487 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.4929, allocations: 133.3 kB / 1.487 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.4929, allocations: 0 / 1.487 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4929, allocations: 0 / 1.487 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4929, allocations: 3.984 kB / 1.487 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.4931, allocations: 152.6 kB / 1.487 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4931, allocations: 0 / 1.487 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.4932, allocations: 27.98 kB / 1.487 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4932, allocations: 0 / 1.487 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.4932, allocations: 8 kB / 1.487 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4932, allocations: 0 / 1.487 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4932, allocations: 3.938 kB / 1.487 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.4935, allocations: 156.9 kB / 1.487 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.4935, allocations: 20.03 kB / 1.487 GB, free: 12.35 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.4935, allocations: 4 kB / 1.487 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.4937, allocations: 19.98 kB / 1.487 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.4937, allocations: 7.984 kB / 1.487 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.4937, allocations: 4 kB / 1.487 GB, free: 12.31 MB / 1.186 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.4938, allocations: 79.28 kB / 1.488 GB, free: 12.23 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.4938, allocations: 0 / 1.488 GB, free: 12.23 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001288/0.495, allocations: 0.566 MB / 1.488 GB, free: 11.67 MB / 1.186 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.002584/0.4976, allocations: 358.8 kB / 1.488 GB, free: 11.31 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001599/0.4978, allocations: 59.98 kB / 1.488 GB, free: 11.25 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4978, allocations: 0 / 1.488 GB, free: 11.25 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 5.997e-05/0.4979, allocations: 39.86 kB / 1.489 GB, free: 11.21 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.498, allocations: 11.94 kB / 1.489 GB, free: 11.2 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.4986, allocations: 372.2 kB / 1.489 GB, free: 10.8 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.4989, allocations: 0.6846 MB / 1.49 GB, free: 10.09 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.4989, allocations: 15.44 kB / 1.49 GB, free: 10.07 MB / 1.186 GB Notification: Performance of SimCode: time 3.2e-07/0.4989, allocations: 0 / 1.49 GB, free: 10.07 MB / 1.186 GB Notification: Performance of Templates: time 0.02027/0.5192, allocations: 14.41 MB / 1.504 GB, free: 11.67 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.001103565009544]