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.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.00124/0.00124, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00141/0.00141, allocations: 214.1 kB / 23.04 MB, free: 5.082 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.254/3.254, allocations: 0.5003 GB / 0.8061 GB, free: 26.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_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.003349/0.003349, allocations: 63.33 kB / 1.171 GB, free: 19.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4228, allocations: 179 MB / 1.345 GB, free: 496 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.003105/0.4259, allocations: 1.29 MB / 1.347 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1836/0.6095, allocations: 141 MB / 1.484 GB, free: 1.652 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.6095, allocations: 0 / 1.484 GB, free: 1.652 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.6096, allocations: 3.938 kB / 1.484 GB, free: 1.648 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.6096, allocations: 3.938 kB / 1.484 GB, free: 1.645 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.611, allocations: 470.5 kB / 1.485 GB, free: 1.184 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 9.104e-05/0.6111, allocations: 47.83 kB / 1.485 GB, free: 1.137 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.6111, allocations: 4 kB / 1.485 GB, free: 1.133 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.913e-05/0.6112, allocations: 23.92 kB / 1.485 GB, free: 1.109 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 8.321e-05/0.6113, allocations: 23.91 kB / 1.485 GB, free: 1.086 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.6113, allocations: 0 / 1.485 GB, free: 1.086 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.6128, allocations: 0.8348 MB / 1.486 GB, free: 256 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.6128, allocations: 11.98 kB / 1.486 GB, free: 244 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.6129, allocations: 19.92 kB / 1.486 GB, free: 224 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006342/0.6135, allocations: 443 kB / 1.486 GB, free: 15.79 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6135, allocations: 0 / 1.486 GB, free: 15.79 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6135, allocations: 0 / 1.486 GB, free: 15.79 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.6135, allocations: 3.984 kB / 1.486 GB, free: 15.78 MB / 1.186 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.0004959/0.614, allocations: 298.1 kB / 1.486 GB, free: 15.46 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.6141, allocations: 12.03 kB / 1.486 GB, free: 15.45 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.366e-05/0.6141, allocations: 192 / 1.486 GB, free: 15.45 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.6141, allocations: 38.75 kB / 1.486 GB, free: 15.4 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.6143, allocations: 12.88 kB / 1.486 GB, free: 15.39 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.032e-05/0.6144, allocations: 106.5 kB / 1.486 GB, free: 15.26 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.6144, allocations: 12.12 kB / 1.486 GB, free: 15.25 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.6144, allocations: 7.953 kB / 1.487 GB, free: 15.24 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.6146, allocations: 53.67 kB / 1.487 GB, free: 15.18 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.6146, allocations: 0 / 1.487 GB, free: 15.18 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.6146, allocations: 4 kB / 1.487 GB, free: 15.18 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.6146, allocations: 0 / 1.487 GB, free: 15.18 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.218e-05/0.6147, allocations: 27.95 kB / 1.487 GB, free: 15.15 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.6149, allocations: 132.8 kB / 1.487 GB, free: 14.98 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.615, allocations: 54.44 kB / 1.487 GB, free: 14.92 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.615, allocations: 12.84 kB / 1.487 GB, free: 14.9 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.6267, allocations: 2.864 MB / 1.49 GB, free: 12.04 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/0.6268, allocations: 46.48 kB / 1.49 GB, free: 11.98 MB / 1.186 GB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/0.6268, allocations: 0 / 1.49 GB, free: 11.98 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.04394/0.6707, allocations: 14.92 MB / 1.504 GB, free: 12.92 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.6707, allocations: 63.34 kB / 1.504 GB, free: 12.85 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/0.6708, allocations: 89.86 kB / 1.504 GB, free: 12.75 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.6709, allocations: 29.7 kB / 1.504 GB, free: 12.71 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.6709, allocations: 84.08 kB / 1.504 GB, free: 12.63 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.671, allocations: 43.64 kB / 1.504 GB, free: 12.59 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.671, allocations: 29.7 kB / 1.505 GB, free: 12.55 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.6712, allocations: 322.8 kB / 1.505 GB, free: 12.23 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.6713, allocations: 28.11 kB / 1.505 GB, free: 12.2 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.008e-05/0.6713, allocations: 21.98 kB / 1.505 GB, free: 12.18 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.6715, allocations: 60.86 kB / 1.505 GB, free: 12.12 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.6715, allocations: 0 / 1.505 GB, free: 12.12 MB / 1.201 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002427/0.6717, allocations: 106.7 kB / 1.505 GB, free: 12.01 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.6717, allocations: 4 kB / 1.505 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.6717, allocations: 0 / 1.505 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.6717, allocations: 4 kB / 1.505 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.6719, allocations: 27.98 kB / 1.505 GB, free: 11.97 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6719, allocations: 0 / 1.505 GB, free: 11.97 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.6719, allocations: 4 kB / 1.505 GB, free: 11.97 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.6719, allocations: 8 kB / 1.505 GB, free: 11.96 MB / 1.201 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 0.0001088/0.672, allocations: 117.8 kB / 1.505 GB, free: 11.84 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.6721, allocations: 3.953 kB / 1.505 GB, free: 11.83 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.6724, allocations: 137.2 kB / 1.505 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.6724, allocations: 4 kB / 1.505 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6724, allocations: 4 kB / 1.505 GB, free: 11.68 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.6724, allocations: 0 / 1.505 GB, free: 11.68 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.6726, allocations: 148.7 kB / 1.505 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6726, allocations: 0 / 1.505 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.6727, allocations: 27.98 kB / 1.506 GB, free: 11.47 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6727, allocations: 0 / 1.506 GB, free: 11.47 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.6727, allocations: 0 / 1.506 GB, free: 11.47 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.6727, allocations: 8 kB / 1.506 GB, free: 11.46 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6727, allocations: 3.938 kB / 1.506 GB, free: 11.46 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.6731, allocations: 164.9 kB / 1.506 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.6731, allocations: 12.03 kB / 1.506 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.6731, allocations: 0 / 1.506 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.6733, allocations: 11.98 kB / 1.506 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.6733, allocations: 8 kB / 1.506 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.6733, allocations: 7.984 kB / 1.506 GB, free: 11.24 MB / 1.201 GB Notification: Performance of sorting global known variables: time 5.597e-05/0.6734, allocations: 79.28 kB / 1.506 GB, free: 11.16 MB / 1.201 GB Notification: Performance of sort global known variables: time 4e-08/0.6734, allocations: 0 / 1.506 GB, free: 11.16 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001864/0.6752, allocations: 0.5699 MB / 1.506 GB, free: 10.59 MB / 1.201 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.003967/0.6792, allocations: 0.9405 MB / 1.507 GB, free: 9.621 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.6794, allocations: 70.58 kB / 1.507 GB, free: 9.555 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6794, allocations: 0 / 1.507 GB, free: 9.555 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 6.741e-05/0.6795, allocations: 31.98 kB / 1.507 GB, free: 9.523 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.6797, allocations: 8 kB / 1.507 GB, free: 9.516 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.6821, allocations: 1.55 MB / 1.509 GB, free: 7.887 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.6823, allocations: 0.6846 MB / 1.51 GB, free: 7.176 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 8.841e-05/0.6824, allocations: 24.55 kB / 1.51 GB, free: 7.152 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.6825, allocations: 23.42 kB / 1.51 GB, free: 7.129 MB / 1.201 GB Notification: Performance of SimCode: time 6.01e-07/0.6825, allocations: 0 / 1.51 GB, free: 7.129 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06022/0.7427, allocations: 25.68 MB / 1.535 GB, free: 13.57 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.94, allocations: 13.78 kB / 1.535 GB, free: 13.56 MB / 1.233 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-10 Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 28.83676725300029]