Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.001477/0.001477, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001622/0.001622, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.473/1.473, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.907/2.907, allocations: 0.5003 GB / 0.8026 GB, free: 6.746 MB / 0.6387 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.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",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.001907/0.001907, allocations: 69.92 kB / 1.165 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8982/0.9001, allocations: 178.9 MB / 1.34 GB, free: 16.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1683/1.068, allocations: 138.6 MB / 1.476 GB, free: 8.773 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001806/1.069, allocations: 55.45 kB / 1.476 GB, free: 8.73 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/1.069, allocations: 0 / 1.476 GB, free: 8.73 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/1.069, allocations: 1.094 kB / 1.476 GB, free: 8.73 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/1.069, allocations: 14 kB / 1.476 GB, free: 8.719 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009813/1.07, allocations: 238.3 kB / 1.476 GB, free: 8.555 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.448e-05/1.07, allocations: 37.09 kB / 1.476 GB, free: 8.535 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/1.07, allocations: 1.25 kB / 1.476 GB, free: 8.535 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.905e-05/1.07, allocations: 17.41 kB / 1.476 GB, free: 8.527 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 8.775e-05/1.07, allocations: 14.94 kB / 1.476 GB, free: 8.52 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/1.07, allocations: 1.375 kB / 1.476 GB, free: 8.52 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004836/1.071, allocations: 254.7 kB / 1.476 GB, free: 8.367 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/1.071, allocations: 2.969 kB / 1.476 GB, free: 8.367 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/1.071, allocations: 19.75 kB / 1.476 GB, free: 8.352 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/1.071, allocations: 182.6 kB / 1.476 GB, free: 8.266 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/1.071, allocations: 1.5 kB / 1.476 GB, free: 8.266 MB / 1.154 GB Notification: Performance of FrontEnd: time 6.31e-07/1.071, allocations: 0 / 1.476 GB, free: 8.266 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.348e-06/1.071, allocations: 0 / 1.476 GB, free: 8.266 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004628/1.071, allocations: 367 kB / 1.477 GB, free: 7.879 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/1.071, allocations: 9.656 kB / 1.477 GB, free: 7.879 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.286e-05/1.071, allocations: 1.688 kB / 1.477 GB, free: 7.879 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/1.071, allocations: 30.75 kB / 1.477 GB, free: 7.84 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/1.072, allocations: 2.25 kB / 1.477 GB, free: 7.84 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/1.072, allocations: 173.5 kB / 1.477 GB, free: 7.633 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/1.072, allocations: 31.08 kB / 1.477 GB, free: 7.598 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/1.072, allocations: 1.406 kB / 1.477 GB, free: 7.598 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/1.072, allocations: 47.64 kB / 1.477 GB, free: 7.555 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/1.072, allocations: 0 / 1.477 GB, free: 7.555 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/1.072, allocations: 0 / 1.477 GB, free: 7.555 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/1.072, allocations: 1.531 kB / 1.477 GB, free: 7.555 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.858e-05/1.072, allocations: 17.73 kB / 1.477 GB, free: 7.547 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/1.073, allocations: 0.6031 MB / 1.478 GB, free: 6.859 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 5.371e-05/1.073, allocations: 25.11 kB / 1.478 GB, free: 6.828 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/1.073, allocations: 4.859 kB / 1.478 GB, free: 6.82 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/1.073, allocations: 334.8 kB / 1.478 GB, free: 6.434 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/1.073, allocations: 39.69 kB / 1.478 GB, free: 6.387 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/1.073, allocations: 0 / 1.478 GB, free: 6.387 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/1.073, allocations: 32.08 kB / 1.478 GB, free: 6.355 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/1.073, allocations: 55.34 kB / 1.478 GB, free: 6.289 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.605e-05/1.073, allocations: 113.4 kB / 1.478 GB, free: 6.176 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/1.073, allocations: 25.7 kB / 1.478 GB, free: 6.145 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/1.074, allocations: 85.44 kB / 1.478 GB, free: 6.059 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-06/1.074, allocations: 0 / 1.478 GB, free: 6.059 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/1.074, allocations: 22.33 kB / 1.478 GB, free: 6.035 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.074, allocations: 314.8 kB / 1.479 GB, free: 5.719 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/1.074, allocations: 2.594 kB / 1.479 GB, free: 5.719 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/1.074, allocations: 22.7 kB / 1.479 GB, free: 5.695 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.784e-05/1.074, allocations: 19.62 kB / 1.479 GB, free: 5.676 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/1.074, allocations: 0 / 1.479 GB, free: 5.676 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.773e-05/1.074, allocations: 58.89 kB / 1.479 GB, free: 5.625 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.074, allocations: 5.219 kB / 1.479 GB, free: 5.625 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.074, allocations: 1.312 kB / 1.479 GB, free: 5.625 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.074, allocations: 0 / 1.479 GB, free: 5.625 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.379e-05/1.074, allocations: 4.719 kB / 1.479 GB, free: 5.625 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.074, allocations: 1.281 kB / 1.479 GB, free: 5.625 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/1.074, allocations: 5.188 kB / 1.479 GB, free: 5.621 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/1.074, allocations: 1.156 kB / 1.479 GB, free: 5.621 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.000107/1.074, allocations: 120.6 kB / 1.479 GB, free: 5.496 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/1.074, allocations: 9.188 kB / 1.479 GB, free: 5.488 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/1.074, allocations: 112.6 kB / 1.479 GB, free: 5.367 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.295e-05/1.074, allocations: 180.2 kB / 1.479 GB, free: 5.184 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-05/1.075, allocations: 185.9 kB / 1.479 GB, free: 4.996 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.291e-05/1.075, allocations: 181.8 kB / 1.479 GB, free: 4.812 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/1.075, allocations: 406.8 kB / 1.48 GB, free: 4.359 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.323e-05/1.075, allocations: 110.6 kB / 1.48 GB, free: 4.246 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/1.075, allocations: 106.4 kB / 1.48 GB, free: 4.137 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/1.075, allocations: 176.3 kB / 1.48 GB, free: 3.957 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/1.075, allocations: 177.4 kB / 1.48 GB, free: 3.777 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001196/1.075, allocations: 185.3 kB / 1.481 GB, free: 3.59 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001163/1.075, allocations: 181.3 kB / 1.481 GB, free: 3.406 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/1.076, allocations: 308.1 kB / 1.481 GB, free: 3.086 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/1.076, allocations: 187.5 kB / 1.481 GB, free: 2.879 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/1.076, allocations: 189.5 kB / 1.481 GB, free: 2.688 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/1.076, allocations: 107.6 kB / 1.481 GB, free: 2.578 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.076, allocations: 197.5 kB / 1.482 GB, free: 2.379 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/1.076, allocations: 102.2 kB / 1.482 GB, free: 2.273 MB / 1.154 GB Notification: Performance of sorting global known variables: time 6.693e-05/1.076, allocations: 80.62 kB / 1.482 GB, free: 2.199 MB / 1.154 GB Notification: Performance of sort global known variables: time 6.1e-08/1.076, allocations: 0 / 1.482 GB, free: 2.199 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003827/1.077, allocations: 56.55 kB / 1.482 GB, free: 2.18 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0009449/1.078, allocations: 0.8853 MB / 1.483 GB, free: 1.324 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001316/1.078, allocations: 14.59 kB / 1.483 GB, free: 1.316 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.078, allocations: 0 / 1.483 GB, free: 1.316 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/1.078, allocations: 0.8438 kB / 1.483 GB, free: 1.316 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006454/1.078, allocations: 470.2 kB / 1.483 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/1.08, allocations: 1.353 MB / 1.485 GB, free: 15.48 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/1.081, allocations: 0.6756 MB / 1.485 GB, free: 14.79 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.806e-05/1.081, allocations: 4.781 kB / 1.485 GB, free: 14.79 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/1.081, allocations: 8.875 kB / 1.485 GB, free: 14.78 MB / 1.17 GB Notification: Performance of SimCode: time 3.7e-07/1.081, allocations: 0 / 1.485 GB, free: 14.78 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/1.1, allocations: 2.265 MB / 1.487 GB, free: 13.55 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/9.063, allocations: 18.73 kB / 1.487 GB, free: 13.54 MB / 1.17 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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: 15.49933892203262]