Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001372/0.001372, allocations: 103.6 kB / 16.45 MB, free: 6.449 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.001426/0.001426, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.405/1.405, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.163/3.163, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 177] 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.002137/0.002137, allocations: 68.19 kB / 1.172 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3507, allocations: 180.2 MB / 1.348 GB, free: 9.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1765/0.5272, allocations: 151.1 MB / 1.495 GB, free: 2.223 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.000175/0.5274, allocations: 59.84 kB / 1.495 GB, free: 2.164 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.5274, allocations: 0 / 1.495 GB, free: 2.164 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.5276, allocations: 3.938 kB / 1.495 GB, free: 2.16 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 8.075e-05/0.5276, allocations: 11.92 kB / 1.495 GB, free: 2.148 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.5282, allocations: 110.8 kB / 1.496 GB, free: 2.043 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 9.886e-05/0.5283, allocations: 35.84 kB / 1.496 GB, free: 2.008 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.5283, allocations: 4 kB / 1.496 GB, free: 2.004 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.753e-05/0.5284, allocations: 19.92 kB / 1.496 GB, free: 1.984 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.5285, allocations: 7.984 kB / 1.496 GB, free: 1.977 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.5285, allocations: 4 kB / 1.496 GB, free: 1.973 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.5288, allocations: 87.7 kB / 1.496 GB, free: 1.887 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.5288, allocations: 15.98 kB / 1.496 GB, free: 1.871 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.5288, allocations: 7.938 kB / 1.496 GB, free: 1.863 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.529, allocations: 83.98 kB / 1.496 GB, free: 1.781 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.529, allocations: 0 / 1.496 GB, free: 1.781 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.473e-06/0.529, allocations: 0 / 1.496 GB, free: 1.781 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.529, allocations: 4 kB / 1.496 GB, free: 1.777 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005084/0.5296, allocations: 343.3 kB / 1.496 GB, free: 1.395 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5296, allocations: 11.98 kB / 1.496 GB, free: 1.383 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.5296, allocations: 30.75 kB / 1.496 GB, free: 1.344 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.5299, allocations: 20.91 kB / 1.496 GB, free: 1.324 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.53, allocations: 164.1 kB / 1.496 GB, free: 1.125 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/0.5301, allocations: 33.7 kB / 1.496 GB, free: 1.086 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.5301, allocations: 0 / 1.496 GB, free: 1.086 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.5302, allocations: 53.66 kB / 1.496 GB, free: 1.027 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5303, allocations: 3.938 kB / 1.496 GB, free: 1.023 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.5303, allocations: 0 / 1.496 GB, free: 1.023 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.5303, allocations: 0 / 1.496 GB, free: 1.023 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.222e-05/0.5303, allocations: 19.98 kB / 1.496 GB, free: 1.004 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.5308, allocations: 264.9 kB / 1.497 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/0.5308, allocations: 14.58 kB / 1.497 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.5309, allocations: 12.92 kB / 1.497 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.5309, allocations: 0 / 1.497 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.5309, allocations: 34.5 kB / 1.497 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.5309, allocations: 0 / 1.497 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of matching and sorting (n=1): time 0.0001501/0.5311, allocations: 33.83 kB / 1.497 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.5311, allocations: 59.34 kB / 1.497 GB, free: 0.5039 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.8e-05/0.5312, allocations: 105.8 kB / 1.497 GB, free: 400 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.5312, allocations: 29.64 kB / 1.497 GB, free: 364 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.5313, allocations: 92.05 kB / 1.497 GB, free: 268 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-06/0.5313, allocations: 7.922 kB / 1.497 GB, free: 260 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.5313, allocations: 13.72 kB / 1.497 GB, free: 240 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5315, allocations: 318.8 kB / 1.497 GB, free: 15.91 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.5315, allocations: 4 kB / 1.497 GB, free: 15.91 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.5315, allocations: 34.44 kB / 1.497 GB, free: 15.87 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.211e-05/0.5316, allocations: 26.58 kB / 1.497 GB, free: 15.83 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5316, allocations: 0 / 1.497 GB, free: 15.83 MB / 1.201 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.659e-05/0.5317, allocations: 65.61 kB / 1.497 GB, free: 15.76 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.5317, allocations: 6.344 kB / 1.497 GB, free: 15.76 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5317, allocations: 0 / 1.497 GB, free: 15.76 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.5317, allocations: 4 kB / 1.497 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/0.5318, allocations: 11.88 kB / 1.498 GB, free: 15.74 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5318, allocations: 0 / 1.498 GB, free: 15.74 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.5318, allocations: 4 kB / 1.498 GB, free: 15.74 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.5318, allocations: 0 / 1.498 GB, free: 15.74 MB / 1.201 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.887e-05/0.5319, allocations: 113.8 kB / 1.498 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.5319, allocations: 4.062 kB / 1.498 GB, free: 15.61 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.532, allocations: 7.125 kB / 1.498 GB, free: 15.6 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.532, allocations: 7.938 kB / 1.498 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.532, allocations: 0 / 1.498 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.532, allocations: 0 / 1.498 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.5323, allocations: 347 kB / 1.498 GB, free: 15.2 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.5323, allocations: 3.938 kB / 1.498 GB, free: 15.19 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/0.5324, allocations: 7.938 kB / 1.498 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5324, allocations: 0 / 1.498 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.5324, allocations: 8.031 kB / 1.498 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.5324, allocations: 0 / 1.498 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5324, allocations: 0 / 1.498 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.016e-05/0.5324, allocations: 57.09 kB / 1.498 GB, free: 15.1 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.5325, allocations: 89.03 kB / 1.498 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.5325, allocations: 0 / 1.498 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.361e-05/0.5326, allocations: 0 / 1.498 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.5326, allocations: 8.031 kB / 1.498 GB, free: 14.99 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.5326, allocations: 0 / 1.498 GB, free: 14.99 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001127/0.5327, allocations: 83.27 kB / 1.498 GB, free: 14.91 MB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/0.5327, allocations: 0 / 1.498 GB, free: 14.91 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0001979/0.5329, allocations: 12 kB / 1.498 GB, free: 14.89 MB / 1.201 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.0004211/0.5334, allocations: 0.6007 MB / 1.499 GB, free: 14.27 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 8.953e-05/0.5334, allocations: 15.88 kB / 1.499 GB, free: 14.25 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5334, allocations: 0 / 1.499 GB, free: 14.25 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 5.571e-06/0.5335, allocations: 3.938 kB / 1.499 GB, free: 14.25 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.5337, allocations: 8 kB / 1.499 GB, free: 14.24 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.5341, allocations: 136.4 kB / 1.499 GB, free: 14.07 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.5344, allocations: 0.6807 MB / 1.5 GB, free: 13.36 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 5.492e-05/0.5345, allocations: 12.06 kB / 1.5 GB, free: 13.35 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.5345, allocations: 11.44 kB / 1.5 GB, free: 13.34 MB / 1.201 GB Notification: Performance of SimCode: time 6.11e-07/0.5345, allocations: 0 / 1.5 GB, free: 13.34 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.5588, allocations: 1.386 MB / 1.501 GB, free: 12.13 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/8.028, allocations: 5.875 kB / 1.501 GB, free: 12.12 MB / 1.201 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.546255878871307]