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.001832/0.001832, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002404/0.002404, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.973 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.431/3.431, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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="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: 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.002808/0.002808, allocations: 66.62 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4301, allocations: 180.2 MB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1843/0.6143, allocations: 138.7 MB / 1.488 GB, free: 13.29 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0001873/0.6145, allocations: 63.78 kB / 1.488 GB, free: 13.23 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.6146, allocations: 0 / 1.488 GB, free: 13.23 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.6147, allocations: 0 / 1.488 GB, free: 13.23 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 9.151e-05/0.6148, allocations: 15.92 kB / 1.488 GB, free: 13.21 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.6158, allocations: 247 kB / 1.489 GB, free: 12.97 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.6159, allocations: 39.84 kB / 1.489 GB, free: 12.93 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.6159, allocations: 0 / 1.489 GB, free: 12.93 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.16e-05/0.616, allocations: 11.98 kB / 1.489 GB, free: 12.92 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 7.962e-05/0.6161, allocations: 19.91 kB / 1.489 GB, free: 12.9 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.6161, allocations: 0 / 1.489 GB, free: 12.9 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.6166, allocations: 263.4 kB / 1.489 GB, free: 12.64 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.6167, allocations: 4 kB / 1.489 GB, free: 12.64 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.6167, allocations: 19.92 kB / 1.489 GB, free: 12.62 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.6172, allocations: 187.8 kB / 1.489 GB, free: 12.44 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6172, allocations: 0 / 1.489 GB, free: 12.44 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6172, allocations: 0 / 1.489 GB, free: 12.44 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.6172, allocations: 0 / 1.489 GB, free: 12.44 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004958/0.6177, allocations: 286 kB / 1.489 GB, free: 12.13 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.6178, allocations: 15.97 kB / 1.489 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.6178, allocations: 38.69 kB / 1.489 GB, free: 12.07 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.6179, allocations: 0.9375 kB / 1.489 GB, free: 12.07 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.618, allocations: 110.5 kB / 1.49 GB, free: 11.93 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.755e-05/0.6181, allocations: 55.72 kB / 1.49 GB, free: 11.87 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.6181, allocations: 0 / 1.49 GB, free: 11.87 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.6182, allocations: 53.61 kB / 1.49 GB, free: 11.81 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.6182, allocations: 0 / 1.49 GB, free: 11.81 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.6182, allocations: 3.984 kB / 1.49 GB, free: 11.8 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.6183, allocations: 0 / 1.49 GB, free: 11.8 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.627e-05/0.6183, allocations: 12 kB / 1.49 GB, free: 11.79 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006824/0.619, allocations: 283.9 kB / 1.49 GB, free: 11.47 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 4.545e-05/0.619, allocations: 22.52 kB / 1.49 GB, free: 11.44 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.619, allocations: 8.859 kB / 1.49 GB, free: 11.43 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.336e-05/0.6191, allocations: 28.03 kB / 1.49 GB, free: 11.4 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.6192, allocations: 30.56 kB / 1.49 GB, free: 11.36 MB / 1.186 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.6192, allocations: 4 kB / 1.49 GB, free: 11.36 MB / 1.186 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.6193, allocations: 37.7 kB / 1.49 GB, free: 11.32 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.6193, allocations: 51.41 kB / 1.49 GB, free: 11.25 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.6194, allocations: 101.8 kB / 1.49 GB, free: 11.14 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.6194, allocations: 25.7 kB / 1.49 GB, free: 11.11 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.6195, allocations: 88.09 kB / 1.49 GB, free: 11.02 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.893e-06/0.6195, allocations: 7.875 kB / 1.49 GB, free: 11.02 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.6195, allocations: 17.83 kB / 1.49 GB, free: 10.99 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6197, allocations: 322.8 kB / 1.491 GB, free: 10.67 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.6197, allocations: 4 kB / 1.491 GB, free: 10.66 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.6197, allocations: 17.7 kB / 1.491 GB, free: 10.64 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.6198, allocations: 21.72 kB / 1.491 GB, free: 10.61 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.6198, allocations: 0 / 1.491 GB, free: 10.61 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.777e-05/0.6198, allocations: 57.58 kB / 1.491 GB, free: 10.55 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6199, allocations: 4 kB / 1.491 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.6199, allocations: 0 / 1.491 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.6199, allocations: 4 kB / 1.491 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.478e-05/0.6199, allocations: 7.938 kB / 1.491 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.6199, allocations: 0 / 1.491 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.6199, allocations: 3.938 kB / 1.491 GB, free: 10.53 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.62, allocations: 4 kB / 1.491 GB, free: 10.53 MB / 1.186 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.258e-05/0.62, allocations: 113.8 kB / 1.491 GB, free: 10.41 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.6201, allocations: 8.062 kB / 1.491 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.6202, allocations: 116.9 kB / 1.491 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.519e-05/0.6203, allocations: 180.3 kB / 1.491 GB, free: 10.09 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.919e-05/0.6203, allocations: 184.2 kB / 1.491 GB, free: 9.898 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.392e-05/0.6204, allocations: 180.2 kB / 1.491 GB, free: 9.715 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.6207, allocations: 388.2 kB / 1.492 GB, free: 9.285 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.828e-05/0.6207, allocations: 101 kB / 1.492 GB, free: 9.18 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.6208, allocations: 109 kB / 1.492 GB, free: 9.066 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-05/0.6208, allocations: 180.2 kB / 1.492 GB, free: 8.883 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-05/0.6209, allocations: 180.3 kB / 1.492 GB, free: 8.699 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-05/0.621, allocations: 188.2 kB / 1.493 GB, free: 8.508 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.908e-05/0.6211, allocations: 184.5 kB / 1.493 GB, free: 8.32 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.6213, allocations: 311.7 kB / 1.493 GB, free: 7.992 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.6213, allocations: 108.9 kB / 1.493 GB, free: 7.879 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.216e-05/0.6214, allocations: 180.2 kB / 1.493 GB, free: 7.695 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.6216, allocations: 109 kB / 1.493 GB, free: 7.582 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.6216, allocations: 176.5 kB / 1.494 GB, free: 7.402 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.6217, allocations: 116.8 kB / 1.494 GB, free: 7.281 MB / 1.186 GB Notification: Performance of sorting global known variables: time 5.362e-05/0.6217, allocations: 83.28 kB / 1.494 GB, free: 7.199 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6217, allocations: 0 / 1.494 GB, free: 7.199 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003249/0.6221, allocations: 59.73 kB / 1.494 GB, free: 7.141 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.0006791/0.6227, allocations: 0.8788 MB / 1.495 GB, free: 6.23 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 7.719e-05/0.6228, allocations: 11.94 kB / 1.495 GB, free: 6.219 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6228, allocations: 0 / 1.495 GB, free: 6.219 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.6228, allocations: 7.938 kB / 1.495 GB, free: 6.211 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.6233, allocations: 465.5 kB / 1.495 GB, free: 5.754 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.6245, allocations: 1.348 MB / 1.496 GB, free: 4.316 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.6248, allocations: 0.6768 MB / 1.497 GB, free: 3.613 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.6249, allocations: 7.938 kB / 1.497 GB, free: 3.605 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.6249, allocations: 11.44 kB / 1.497 GB, free: 3.598 MB / 1.186 GB Notification: Performance of SimCode: time 3.11e-07/0.6249, allocations: 0 / 1.497 GB, free: 3.598 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.658, allocations: 2.312 MB / 1.499 GB, free: 1.418 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.74, allocations: 6.312 kB / 1.499 GB, free: 1.418 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.119558891048655]