Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001484/0.001484, allocations: 111 kB / 16.46 MB, free: 6.453 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.001433/0.001433, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.391/1.391, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.052/3.052, allocations: 0.49 GB / 0.7916 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_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.002274/0.002274, allocations: 74.81 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3407, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1673/0.508, allocations: 138.6 MB / 1.456 GB, free: 8.184 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.000163/0.5081, allocations: 55.84 kB / 1.456 GB, free: 8.129 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.5082, allocations: 0 / 1.456 GB, free: 8.129 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.5083, allocations: 3.938 kB / 1.456 GB, free: 8.125 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.237e-05/0.5083, allocations: 11.98 kB / 1.456 GB, free: 8.113 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000858/0.5092, allocations: 243 kB / 1.456 GB, free: 7.875 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.786e-05/0.5093, allocations: 35.84 kB / 1.456 GB, free: 7.84 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.5093, allocations: 0 / 1.456 GB, free: 7.84 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.115e-05/0.5094, allocations: 15.98 kB / 1.457 GB, free: 7.824 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.5094, allocations: 15.86 kB / 1.457 GB, free: 7.809 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.5094, allocations: 4 kB / 1.457 GB, free: 7.805 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.51, allocations: 255.4 kB / 1.457 GB, free: 7.555 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.51, allocations: 0 / 1.457 GB, free: 7.555 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.51, allocations: 11.92 kB / 1.457 GB, free: 7.543 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.5104, allocations: 191.8 kB / 1.457 GB, free: 7.355 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5104, allocations: 0 / 1.457 GB, free: 7.355 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5104, allocations: 0 / 1.457 GB, free: 7.355 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.5105, allocations: 0 / 1.457 GB, free: 7.355 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.000479/0.5109, allocations: 367.1 kB / 1.457 GB, free: 6.949 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.511, allocations: 11.98 kB / 1.457 GB, free: 6.938 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.511, allocations: 38.75 kB / 1.457 GB, free: 6.891 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.511, allocations: 0.9375 kB / 1.457 GB, free: 6.891 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.5112, allocations: 164.3 kB / 1.458 GB, free: 6.691 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.5113, allocations: 38.02 kB / 1.458 GB, free: 6.648 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.5113, allocations: 0 / 1.458 GB, free: 6.648 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.5114, allocations: 45.67 kB / 1.458 GB, free: 6.598 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.5114, allocations: 0 / 1.458 GB, free: 6.598 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.5114, allocations: 0 / 1.458 GB, free: 6.598 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.5114, allocations: 7.938 kB / 1.458 GB, free: 6.59 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.385e-05/0.5115, allocations: 11.98 kB / 1.458 GB, free: 6.578 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008278/0.5123, allocations: 0.5989 MB / 1.458 GB, free: 5.855 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 4.838e-05/0.5124, allocations: 26.52 kB / 1.458 GB, free: 5.82 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.5124, allocations: 4.859 kB / 1.458 GB, free: 5.812 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002436/0.5126, allocations: 336.5 kB / 1.459 GB, free: 5.41 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.5126, allocations: 34.56 kB / 1.459 GB, free: 5.367 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/0.5127, allocations: 0 / 1.459 GB, free: 5.367 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001634/0.5128, allocations: 45.59 kB / 1.459 GB, free: 5.316 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.5129, allocations: 51.41 kB / 1.459 GB, free: 5.254 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.513, allocations: 105.8 kB / 1.459 GB, free: 5.141 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.513, allocations: 25.7 kB / 1.459 GB, free: 5.109 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.513, allocations: 88.09 kB / 1.459 GB, free: 5.02 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/0.513, allocations: 7.938 kB / 1.459 GB, free: 5.012 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.5131, allocations: 17.7 kB / 1.459 GB, free: 4.988 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5132, allocations: 322.9 kB / 1.459 GB, free: 4.664 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.5132, allocations: 0 / 1.459 GB, free: 4.664 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.5133, allocations: 17.7 kB / 1.459 GB, free: 4.641 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.234e-05/0.5133, allocations: 25.66 kB / 1.459 GB, free: 4.609 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5133, allocations: 0 / 1.459 GB, free: 4.609 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.496e-05/0.5134, allocations: 49.62 kB / 1.459 GB, free: 4.555 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.5134, allocations: 12.06 kB / 1.459 GB, free: 4.543 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5134, allocations: 3.984 kB / 1.459 GB, free: 4.539 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5134, allocations: 0 / 1.459 GB, free: 4.539 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.5135, allocations: 4 kB / 1.459 GB, free: 4.535 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.5135, allocations: 3.938 kB / 1.459 GB, free: 4.531 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.5135, allocations: 11.89 kB / 1.459 GB, free: 4.52 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.5135, allocations: 0 / 1.459 GB, free: 4.52 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 9.019e-05/0.5136, allocations: 113.8 kB / 1.459 GB, free: 4.398 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.5136, allocations: 0 / 1.459 GB, free: 4.398 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.5138, allocations: 121 kB / 1.46 GB, free: 4.266 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.562e-05/0.5138, allocations: 180.2 kB / 1.46 GB, free: 4.082 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.912e-05/0.5139, allocations: 180.2 kB / 1.46 GB, free: 3.898 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.635e-05/0.514, allocations: 188.2 kB / 1.46 GB, free: 3.707 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.5143, allocations: 405.2 kB / 1.46 GB, free: 3.254 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.753e-05/0.5143, allocations: 109 kB / 1.461 GB, free: 3.141 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.5144, allocations: 104.9 kB / 1.461 GB, free: 3.031 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-05/0.5145, allocations: 176.3 kB / 1.461 GB, free: 2.852 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.143e-05/0.5145, allocations: 180.3 kB / 1.461 GB, free: 2.668 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.448e-05/0.5146, allocations: 188.2 kB / 1.461 GB, free: 2.477 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-05/0.5147, allocations: 180.5 kB / 1.461 GB, free: 2.293 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.5149, allocations: 311.7 kB / 1.462 GB, free: 1.965 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.385e-05/0.515, allocations: 190 kB / 1.462 GB, free: 1.754 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.849e-05/0.5151, allocations: 180.3 kB / 1.462 GB, free: 1.57 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.5152, allocations: 101 kB / 1.462 GB, free: 1.465 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/0.5153, allocations: 188.2 kB / 1.462 GB, free: 1.273 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.5154, allocations: 112.9 kB / 1.462 GB, free: 1.156 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.365e-05/0.5154, allocations: 83.28 kB / 1.462 GB, free: 1.074 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5154, allocations: 0 / 1.462 GB, free: 1.074 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003199/0.5157, allocations: 59.73 kB / 1.463 GB, free: 1.016 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.0006892/0.5164, allocations: 0.8864 MB / 1.463 GB, free: 100 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 8.528e-05/0.5165, allocations: 12 kB / 1.463 GB, free: 88 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5165, allocations: 4.125 kB / 1.463 GB, free: 84 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.5165, allocations: 0 / 1.463 GB, free: 84 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.517, allocations: 471.5 kB / 1.464 GB, free: 15.62 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.5182, allocations: 1.34 MB / 1.465 GB, free: 14.19 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.5185, allocations: 0.6768 MB / 1.466 GB, free: 13.49 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.062e-05/0.5185, allocations: 7.938 kB / 1.466 GB, free: 13.48 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.5186, allocations: 7.438 kB / 1.466 GB, free: 13.47 MB / 1.17 GB Notification: Performance of SimCode: time 3.81e-07/0.5186, allocations: 0 / 1.466 GB, free: 13.47 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.5445, allocations: 2.221 MB / 1.468 GB, free: 11.35 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/8.172, allocations: 17.61 kB / 1.468 GB, free: 11.34 MB / 1.17 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.634561621118337]