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.001291/0.001291, 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.001444/0.001444, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.281/3.281, allocations: 0.5003 GB / 0.8061 GB, free: 26.71 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.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.002107/0.002107, allocations: 60.67 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4265, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1713/0.5978, allocations: 138.7 MB / 1.481 GB, free: 5.223 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001697/0.598, allocations: 55.86 kB / 1.481 GB, free: 5.168 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.598, allocations: 0 / 1.481 GB, free: 5.168 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.5981, allocations: 7.922 kB / 1.481 GB, free: 5.16 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-05/0.5982, allocations: 11.94 kB / 1.481 GB, free: 5.148 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009099/0.5991, allocations: 252.3 kB / 1.481 GB, free: 4.902 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 9.374e-05/0.5992, allocations: 31.91 kB / 1.481 GB, free: 4.871 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.5992, allocations: 3.938 kB / 1.481 GB, free: 4.867 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/0.5992, allocations: 16 kB / 1.481 GB, free: 4.852 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/0.5993, allocations: 19.84 kB / 1.481 GB, free: 4.832 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.5993, allocations: 4 kB / 1.481 GB, free: 4.828 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005594/0.5999, allocations: 259.4 kB / 1.481 GB, free: 4.574 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.155e-05/0.5999, allocations: 7.922 kB / 1.481 GB, free: 4.566 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.6, allocations: 11.94 kB / 1.481 GB, free: 4.555 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.6004, allocations: 187.9 kB / 1.482 GB, free: 4.371 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6004, allocations: 0 / 1.482 GB, free: 4.371 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6004, allocations: 0 / 1.482 GB, free: 4.371 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.6004, allocations: 0 / 1.482 GB, free: 4.371 MB / 1.17 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.0004162/0.6008, allocations: 290 kB / 1.482 GB, free: 4.059 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.6008, allocations: 16.03 kB / 1.482 GB, free: 4.043 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.47e-05/0.6008, allocations: 192 / 1.482 GB, free: 4.043 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.6009, allocations: 38.67 kB / 1.482 GB, free: 3.996 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.6009, allocations: 0.9375 kB / 1.482 GB, free: 3.996 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.793e-05/0.601, allocations: 110.5 kB / 1.482 GB, free: 3.863 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/0.6011, allocations: 55.53 kB / 1.482 GB, free: 3.797 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.6011, allocations: 4 kB / 1.482 GB, free: 3.793 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.6012, allocations: 41.69 kB / 1.482 GB, free: 3.746 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.6012, allocations: 0 / 1.482 GB, free: 3.746 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.6012, allocations: 4 kB / 1.482 GB, free: 3.742 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.6013, allocations: 0 / 1.482 GB, free: 3.742 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.939e-05/0.6013, allocations: 19.98 kB / 1.482 GB, free: 3.723 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006354/0.6019, allocations: 283.8 kB / 1.482 GB, free: 3.402 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 3.866e-05/0.602, allocations: 14.58 kB / 1.482 GB, free: 3.379 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.602, allocations: 8.859 kB / 1.482 GB, free: 3.367 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.616e-05/0.6021, allocations: 28.05 kB / 1.482 GB, free: 3.34 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.6021, allocations: 38.55 kB / 1.482 GB, free: 3.293 MB / 1.17 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.6021, allocations: 0 / 1.482 GB, free: 3.293 MB / 1.17 GB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.6022, allocations: 33.64 kB / 1.482 GB, free: 3.254 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.6023, allocations: 51.41 kB / 1.483 GB, free: 3.191 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.6024, allocations: 109.8 kB / 1.483 GB, free: 3.074 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.6024, allocations: 29.83 kB / 1.483 GB, free: 3.039 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.6024, allocations: 88.09 kB / 1.483 GB, free: 2.949 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-06/0.6025, allocations: 7.938 kB / 1.483 GB, free: 2.941 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.6025, allocations: 9.719 kB / 1.483 GB, free: 2.926 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6026, allocations: 322.8 kB / 1.483 GB, free: 2.602 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.6026, allocations: 0 / 1.483 GB, free: 2.602 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.61e-05/0.6027, allocations: 13.72 kB / 1.483 GB, free: 2.582 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.6027, allocations: 33.64 kB / 1.483 GB, free: 2.543 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6027, allocations: 0 / 1.483 GB, free: 2.543 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.159e-05/0.6028, allocations: 49.59 kB / 1.483 GB, free: 2.488 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.6028, allocations: 8 kB / 1.483 GB, free: 2.48 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6028, allocations: 3.938 kB / 1.483 GB, free: 2.477 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.6028, allocations: 3.984 kB / 1.483 GB, free: 2.473 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.6029, allocations: 11.94 kB / 1.483 GB, free: 2.461 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.6029, allocations: 0 / 1.483 GB, free: 2.461 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.6029, allocations: 12 kB / 1.483 GB, free: 2.449 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.6029, allocations: 0 / 1.483 GB, free: 2.449 MB / 1.17 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.678e-05/0.603, allocations: 109.8 kB / 1.483 GB, free: 2.332 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.603, allocations: 0 / 1.483 GB, free: 2.332 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.6031, allocations: 121 kB / 1.483 GB, free: 2.203 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-05/0.6032, allocations: 180.2 kB / 1.484 GB, free: 2.02 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-05/0.6033, allocations: 180.3 kB / 1.484 GB, free: 1.836 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.162e-05/0.6034, allocations: 188.1 kB / 1.484 GB, free: 1.645 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.6036, allocations: 372.3 kB / 1.484 GB, free: 1.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.686e-05/0.6037, allocations: 105 kB / 1.484 GB, free: 1.121 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.6037, allocations: 112.9 kB / 1.485 GB, free: 1.004 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.553e-05/0.6038, allocations: 176.4 kB / 1.485 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.92e-05/0.6039, allocations: 188.5 kB / 1.485 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.142e-05/0.604, allocations: 188.2 kB / 1.485 GB, free: 452 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7e-05/0.6041, allocations: 176.3 kB / 1.485 GB, free: 268 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.6042, allocations: 307.7 kB / 1.485 GB, free: 15.94 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.6043, allocations: 120.9 kB / 1.486 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.192e-05/0.6044, allocations: 180.3 kB / 1.486 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.6045, allocations: 105 kB / 1.486 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.6046, allocations: 188.1 kB / 1.486 GB, free: 15.33 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.6047, allocations: 101 kB / 1.486 GB, free: 15.22 MB / 1.186 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.6047, allocations: 87.27 kB / 1.486 GB, free: 15.14 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6047, allocations: 4 kB / 1.486 GB, free: 15.13 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003229/0.6051, allocations: 59.75 kB / 1.486 GB, free: 15.07 MB / 1.186 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.0006743/0.6057, allocations: 0.8828 MB / 1.487 GB, free: 14.16 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 7.823e-05/0.6058, allocations: 11.94 kB / 1.487 GB, free: 14.15 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6058, allocations: 0 / 1.487 GB, free: 14.15 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-06/0.6058, allocations: 3.938 kB / 1.487 GB, free: 14.14 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.6063, allocations: 471.8 kB / 1.488 GB, free: 13.68 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.6075, allocations: 1.34 MB / 1.489 GB, free: 12.25 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.6078, allocations: 0.6767 MB / 1.49 GB, free: 11.55 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 3.956e-05/0.6078, allocations: 8 kB / 1.49 GB, free: 11.54 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.6078, allocations: 11.44 kB / 1.49 GB, free: 11.53 MB / 1.186 GB Notification: Performance of SimCode: time 3.11e-07/0.6078, allocations: 0 / 1.49 GB, free: 11.53 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.6317, allocations: 2.338 MB / 1.492 GB, free: 9.336 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.02, allocations: 8.906 kB / 1.492 GB, free: 9.332 MB / 1.186 GB " [Timeout remaining time 288] (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: 19.098916917981114]