Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001971/0.001971, allocations: 108.9 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.002341/0.002341, allocations: 216.2 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.414/1.414, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.096/3.096, allocations: 0.49 GB / 0.7916 GB, free: 33.43 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.00204/0.00204, allocations: 65.69 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3431, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1756/0.5186, allocations: 151.1 MB / 1.468 GB, free: 11.62 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0002094/0.5188, allocations: 51.73 kB / 1.468 GB, free: 11.58 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.5189, allocations: 0 / 1.468 GB, free: 11.58 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.519, allocations: 7.984 kB / 1.468 GB, free: 11.57 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.5192, allocations: 11.94 kB / 1.468 GB, free: 11.56 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006382/0.5198, allocations: 108.2 kB / 1.469 GB, free: 11.45 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.5199, allocations: 31.91 kB / 1.469 GB, free: 11.42 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.52, allocations: 7.984 kB / 1.469 GB, free: 11.41 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 5.094e-05/0.52, allocations: 15.88 kB / 1.469 GB, free: 11.4 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.5201, allocations: 15.97 kB / 1.469 GB, free: 11.38 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.5201, allocations: 8 kB / 1.469 GB, free: 11.38 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.5205, allocations: 87.7 kB / 1.469 GB, free: 11.29 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.5205, allocations: 8 kB / 1.469 GB, free: 11.28 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.5206, allocations: 11.92 kB / 1.469 GB, free: 11.27 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.5208, allocations: 76.06 kB / 1.469 GB, free: 11.2 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5208, allocations: 0 / 1.469 GB, free: 11.2 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5208, allocations: 0 / 1.469 GB, free: 11.2 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5208, allocations: 0 / 1.469 GB, free: 11.2 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004838/0.5213, allocations: 347.3 kB / 1.469 GB, free: 10.81 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5213, allocations: 15.98 kB / 1.469 GB, free: 10.79 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.5214, allocations: 30.75 kB / 1.469 GB, free: 10.75 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.5216, allocations: 16.92 kB / 1.469 GB, free: 10.74 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.5218, allocations: 168.1 kB / 1.469 GB, free: 10.54 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/0.5218, allocations: 29.64 kB / 1.469 GB, free: 10.5 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.5218, allocations: 0 / 1.469 GB, free: 10.5 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.522, allocations: 53.67 kB / 1.469 GB, free: 10.44 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.522, allocations: 4 kB / 1.469 GB, free: 10.44 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.522, allocations: 0 / 1.469 GB, free: 10.44 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.522, allocations: 4 kB / 1.469 GB, free: 10.43 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.853e-05/0.5221, allocations: 15.98 kB / 1.469 GB, free: 10.42 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.5225, allocations: 260.9 kB / 1.47 GB, free: 10.11 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 4.996e-05/0.5226, allocations: 26.52 kB / 1.47 GB, free: 10.08 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.5226, allocations: 8.859 kB / 1.47 GB, free: 10.07 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.5226, allocations: 0 / 1.47 GB, free: 10.07 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.5226, allocations: 30.56 kB / 1.47 GB, free: 10.03 MB / 1.17 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.5226, allocations: 0 / 1.47 GB, free: 10.03 MB / 1.17 GB Notification: Performance of matching and sorting (n=1): time 0.0001454/0.5228, allocations: 37.75 kB / 1.47 GB, free: 9.984 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.5228, allocations: 59.28 kB / 1.47 GB, free: 9.914 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.5229, allocations: 102 kB / 1.47 GB, free: 9.805 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.5229, allocations: 29.7 kB / 1.47 GB, free: 9.77 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.523, allocations: 99.97 kB / 1.47 GB, free: 9.668 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-06/0.523, allocations: 11.92 kB / 1.47 GB, free: 9.656 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.523, allocations: 17.66 kB / 1.47 GB, free: 9.633 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5232, allocations: 314.8 kB / 1.47 GB, free: 9.316 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.5232, allocations: 7.984 kB / 1.47 GB, free: 9.309 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-05/0.5232, allocations: 22.58 kB / 1.47 GB, free: 9.277 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.682e-05/0.5233, allocations: 34.52 kB / 1.47 GB, free: 9.234 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5233, allocations: 0 / 1.47 GB, free: 9.234 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.394e-05/0.5234, allocations: 53.62 kB / 1.471 GB, free: 9.176 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.5234, allocations: 6.031 kB / 1.471 GB, free: 9.172 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5234, allocations: 0 / 1.471 GB, free: 9.172 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5234, allocations: 8.094 kB / 1.471 GB, free: 9.164 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.722e-05/0.5235, allocations: 11.92 kB / 1.471 GB, free: 9.152 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.5235, allocations: 3.984 kB / 1.471 GB, free: 9.148 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.216e-05/0.5235, allocations: 7.953 kB / 1.471 GB, free: 9.141 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.5235, allocations: 0 / 1.471 GB, free: 9.141 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.268e-05/0.5236, allocations: 109.8 kB / 1.471 GB, free: 9.023 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.5236, allocations: 0 / 1.471 GB, free: 9.023 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.5237, allocations: 11.22 kB / 1.471 GB, free: 9.012 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.5237, allocations: 7.922 kB / 1.471 GB, free: 9.004 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5237, allocations: 4 kB / 1.471 GB, free: 9 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.5237, allocations: 0 / 1.471 GB, free: 9 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.524, allocations: 346.7 kB / 1.471 GB, free: 8.602 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.524, allocations: 0 / 1.471 GB, free: 8.602 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.756e-05/0.524, allocations: 3.938 kB / 1.471 GB, free: 8.598 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.524, allocations: 4 kB / 1.471 GB, free: 8.594 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.524, allocations: 0 / 1.471 GB, free: 8.594 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.524, allocations: 256 / 1.471 GB, free: 8.594 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.524, allocations: 4 kB / 1.471 GB, free: 8.59 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.23e-05/0.5241, allocations: 69.09 kB / 1.471 GB, free: 8.504 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.5242, allocations: 85 kB / 1.471 GB, free: 8.402 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.5242, allocations: 0 / 1.471 GB, free: 8.402 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.314e-05/0.5243, allocations: 4 kB / 1.471 GB, free: 8.398 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-06/0.5243, allocations: 0 / 1.471 GB, free: 8.398 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.5243, allocations: 3.984 kB / 1.471 GB, free: 8.395 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.01e-05/0.5243, allocations: 83.31 kB / 1.471 GB, free: 8.312 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5243, allocations: 4 kB / 1.471 GB, free: 8.309 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001885/0.5245, allocations: 8 kB / 1.471 GB, free: 8.301 MB / 1.17 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 (1): * Single equations (assignments): 1 * 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.0004315/0.5249, allocations: 0.5968 MB / 1.472 GB, free: 7.676 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 8.689e-05/0.525, allocations: 16.03 kB / 1.472 GB, free: 7.66 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.525, allocations: 3.938 kB / 1.472 GB, free: 7.656 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-06/0.525, allocations: 4 kB / 1.472 GB, free: 7.652 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.5253, allocations: 10.05 kB / 1.472 GB, free: 7.645 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.5257, allocations: 141.8 kB / 1.472 GB, free: 7.469 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.5259, allocations: 0.6768 MB / 1.473 GB, free: 6.766 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.719e-05/0.526, allocations: 8.188 kB / 1.473 GB, free: 6.758 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.526, allocations: 15.44 kB / 1.473 GB, free: 6.742 MB / 1.17 GB Notification: Performance of SimCode: time 2.71e-07/0.526, allocations: 0 / 1.473 GB, free: 6.742 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.5498, allocations: 1.368 MB / 1.474 GB, free: 5.52 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/8.164, allocations: 11.05 kB / 1.474 GB, free: 5.512 MB / 1.17 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_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_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.61923499405384]