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.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.001275/0.001275, allocations: 105.6 kB / 16.45 MB, free: 6.035 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.001401/0.001401, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.414/1.414, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.102/3.102, allocations: 497.2 MB / 0.7811 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.8 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3601, allocations: 173.9 MB / 1.304 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1669/0.527, allocations: 135.8 MB / 1.437 GB, free: 9.266 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001941/0.5272, allocations: 51.86 kB / 1.437 GB, free: 9.215 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.5272, allocations: 0 / 1.437 GB, free: 9.215 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.5273, allocations: 0 / 1.437 GB, free: 9.215 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 8.286e-05/0.5274, allocations: 15.91 kB / 1.437 GB, free: 9.199 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008714/0.5283, allocations: 247 kB / 1.437 GB, free: 8.957 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 8.78e-05/0.5284, allocations: 27.86 kB / 1.437 GB, free: 8.93 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.5284, allocations: 0 / 1.437 GB, free: 8.93 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.333e-05/0.5285, allocations: 27.91 kB / 1.437 GB, free: 8.902 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.5285, allocations: 4 kB / 1.437 GB, free: 8.898 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.5285, allocations: 4 kB / 1.437 GB, free: 8.895 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004967/0.529, allocations: 255.4 kB / 1.437 GB, free: 8.645 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.5291, allocations: 7.984 kB / 1.437 GB, free: 8.637 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.5291, allocations: 15.92 kB / 1.437 GB, free: 8.621 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.5295, allocations: 191.8 kB / 1.437 GB, free: 8.434 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5295, allocations: 0 / 1.437 GB, free: 8.434 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5295, allocations: 0 / 1.437 GB, free: 8.434 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.689e-06/0.5295, allocations: 0 / 1.437 GB, free: 8.434 MB / 1.139 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.0004492/0.5299, allocations: 359.2 kB / 1.438 GB, free: 8.035 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.53, allocations: 8.625 kB / 1.438 GB, free: 8.027 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.53, allocations: 30.75 kB / 1.438 GB, free: 7.988 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.53, allocations: 8.891 kB / 1.438 GB, free: 7.98 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.5302, allocations: 164.4 kB / 1.438 GB, free: 7.781 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.5303, allocations: 30.02 kB / 1.438 GB, free: 7.746 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.5303, allocations: 11.92 kB / 1.438 GB, free: 7.734 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.5304, allocations: 45.67 kB / 1.438 GB, free: 7.684 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5304, allocations: 0 / 1.438 GB, free: 7.684 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.5304, allocations: 0 / 1.438 GB, free: 7.684 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.5304, allocations: 4 kB / 1.438 GB, free: 7.68 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.5305, allocations: 15.98 kB / 1.438 GB, free: 7.664 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008269/0.5313, allocations: 0.595 MB / 1.439 GB, free: 6.945 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 4.883e-05/0.5314, allocations: 22.52 kB / 1.439 GB, free: 6.914 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.5314, allocations: 4.859 kB / 1.439 GB, free: 6.906 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002364/0.5316, allocations: 336.5 kB / 1.439 GB, free: 6.504 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.5316, allocations: 38.56 kB / 1.439 GB, free: 6.457 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.5316, allocations: 0 / 1.439 GB, free: 6.457 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.5318, allocations: 33.64 kB / 1.439 GB, free: 6.418 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.5318, allocations: 51.41 kB / 1.439 GB, free: 6.355 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.758e-05/0.5319, allocations: 109.8 kB / 1.439 GB, free: 6.238 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.5319, allocations: 29.64 kB / 1.439 GB, free: 6.203 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.532, allocations: 84.09 kB / 1.439 GB, free: 6.117 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.532, allocations: 11.89 kB / 1.439 GB, free: 6.105 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.532, allocations: 21.83 kB / 1.439 GB, free: 6.078 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5322, allocations: 318.8 kB / 1.44 GB, free: 5.758 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.5322, allocations: 0 / 1.44 GB, free: 5.758 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.08e-05/0.5322, allocations: 21.7 kB / 1.44 GB, free: 5.73 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.5322, allocations: 17.72 kB / 1.44 GB, free: 5.707 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5322, allocations: 0 / 1.44 GB, free: 5.707 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.197e-05/0.5323, allocations: 53.62 kB / 1.44 GB, free: 5.648 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.5323, allocations: 8 kB / 1.44 GB, free: 5.641 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.5323, allocations: 0 / 1.44 GB, free: 5.641 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.5324, allocations: 0 / 1.44 GB, free: 5.641 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.356e-05/0.5324, allocations: 4 kB / 1.44 GB, free: 5.637 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.5324, allocations: 0 / 1.44 GB, free: 5.637 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.5324, allocations: 7.938 kB / 1.44 GB, free: 5.629 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.5324, allocations: 4 kB / 1.44 GB, free: 5.625 MB / 1.139 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 8.816e-05/0.5325, allocations: 121.8 kB / 1.44 GB, free: 5.496 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.5325, allocations: 8.016 kB / 1.44 GB, free: 5.488 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.5327, allocations: 116.9 kB / 1.44 GB, free: 5.363 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.311e-05/0.5327, allocations: 180.3 kB / 1.44 GB, free: 5.18 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-05/0.5328, allocations: 184.2 kB / 1.44 GB, free: 4.992 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.848e-05/0.5329, allocations: 184.2 kB / 1.44 GB, free: 4.805 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.5331, allocations: 409.2 kB / 1.441 GB, free: 4.348 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.322e-05/0.5332, allocations: 109 kB / 1.441 GB, free: 4.234 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.5332, allocations: 101 kB / 1.441 GB, free: 4.129 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.2e-05/0.5333, allocations: 180.2 kB / 1.441 GB, free: 3.945 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-05/0.5334, allocations: 180.3 kB / 1.441 GB, free: 3.762 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.193e-05/0.5335, allocations: 188.2 kB / 1.442 GB, free: 3.57 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-05/0.5336, allocations: 180.3 kB / 1.442 GB, free: 3.387 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.5337, allocations: 312.2 kB / 1.442 GB, free: 3.059 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.525e-05/0.5338, allocations: 182.1 kB / 1.442 GB, free: 2.855 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.5339, allocations: 188.2 kB / 1.442 GB, free: 2.664 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.5341, allocations: 105 kB / 1.442 GB, free: 2.555 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.5342, allocations: 188.2 kB / 1.443 GB, free: 2.363 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.5342, allocations: 108.9 kB / 1.443 GB, free: 2.25 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.519e-05/0.5343, allocations: 87.22 kB / 1.443 GB, free: 2.164 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/0.5343, allocations: 0 / 1.443 GB, free: 2.164 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003297/0.5346, allocations: 55.73 kB / 1.443 GB, free: 2.109 MB / 1.139 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.0006877/0.5353, allocations: 0.8865 MB / 1.444 GB, free: 1.191 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 8.327e-05/0.5354, allocations: 16 kB / 1.444 GB, free: 1.176 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5354, allocations: 0 / 1.444 GB, free: 1.176 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.5354, allocations: 0 / 1.444 GB, free: 1.176 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.5358, allocations: 465.6 kB / 1.444 GB, free: 0.7188 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.537, allocations: 1.348 MB / 1.446 GB, free: 15.29 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.5373, allocations: 0.6729 MB / 1.446 GB, free: 14.59 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 4.06e-05/0.5374, allocations: 8 kB / 1.446 GB, free: 14.58 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.5374, allocations: 7.438 kB / 1.446 GB, free: 14.57 MB / 1.154 GB Notification: Performance of SimCode: time 3.91e-07/0.5374, allocations: 0 / 1.446 GB, free: 14.57 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.5627, allocations: 2.224 MB / 1.448 GB, free: 12.46 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.474, allocations: 9.047 kB / 1.448 GB, free: 12.46 MB / 1.154 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_2/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: 14.976915562991053]