Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001365/0.001365, allocations: 109.2 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.001547/0.001547, allocations: 219 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_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.00202/0.00202, allocations: 63.67 kB / 1.117 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3335, allocations: 170 MB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1904/0.5239, allocations: 151.2 MB / 1.431 GB, free: 3.812 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0001566/0.5241, allocations: 55.84 kB / 1.431 GB, free: 3.758 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.5241, allocations: 4 kB / 1.431 GB, free: 3.754 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.5242, allocations: 7.922 kB / 1.431 GB, free: 3.746 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 7.281e-05/0.5243, allocations: 7.938 kB / 1.431 GB, free: 3.738 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.5248, allocations: 112.4 kB / 1.431 GB, free: 3.629 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 9.878e-05/0.5249, allocations: 35.84 kB / 1.431 GB, free: 3.594 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.5249, allocations: 7.938 kB / 1.431 GB, free: 3.586 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.212e-05/0.5249, allocations: 12 kB / 1.431 GB, free: 3.574 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 7.378e-05/0.525, allocations: 15.97 kB / 1.431 GB, free: 3.559 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.525, allocations: 4 kB / 1.431 GB, free: 3.555 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.5253, allocations: 91.7 kB / 1.431 GB, free: 3.465 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.5253, allocations: 11.92 kB / 1.431 GB, free: 3.453 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.5254, allocations: 8 kB / 1.431 GB, free: 3.445 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.5255, allocations: 79.28 kB / 1.431 GB, free: 3.371 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.5255, allocations: 0 / 1.431 GB, free: 3.371 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5255, allocations: 0 / 1.431 GB, free: 3.371 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.5256, allocations: 0 / 1.431 GB, free: 3.371 MB / 1.123 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.0004141/0.526, allocations: 274.2 kB / 1.432 GB, free: 3.074 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.526, allocations: 8.031 kB / 1.432 GB, free: 3.066 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.526, allocations: 30.75 kB / 1.432 GB, free: 3.027 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.5263, allocations: 20.91 kB / 1.432 GB, free: 3.008 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.5264, allocations: 114.3 kB / 1.432 GB, free: 2.871 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.5264, allocations: 55.41 kB / 1.432 GB, free: 2.805 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.5264, allocations: 4 kB / 1.432 GB, free: 2.801 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.5266, allocations: 45.69 kB / 1.432 GB, free: 2.75 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.5266, allocations: 0 / 1.432 GB, free: 2.75 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.5266, allocations: 0 / 1.432 GB, free: 2.75 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.5266, allocations: 7.984 kB / 1.432 GB, free: 2.742 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.766e-05/0.5267, allocations: 23.92 kB / 1.432 GB, free: 2.719 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.5271, allocations: 227.9 kB / 1.432 GB, free: 2.453 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.5271, allocations: 18.58 kB / 1.432 GB, free: 2.426 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.5271, allocations: 4.906 kB / 1.432 GB, free: 2.418 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.5271, allocations: 3.984 kB / 1.432 GB, free: 2.414 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.5272, allocations: 34.62 kB / 1.432 GB, free: 2.371 MB / 1.123 GB Notification: Performance of pre-optimization done (n=1): time 4.067e-06/0.5272, allocations: 3.984 kB / 1.432 GB, free: 2.367 MB / 1.123 GB Notification: Performance of matching and sorting (n=1): time 0.0001325/0.5273, allocations: 41.58 kB / 1.432 GB, free: 2.32 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.5273, allocations: 55.34 kB / 1.432 GB, free: 2.254 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.5274, allocations: 110 kB / 1.432 GB, free: 2.137 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.5275, allocations: 25.7 kB / 1.432 GB, free: 2.105 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.5275, allocations: 92.03 kB / 1.433 GB, free: 2.012 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.406e-06/0.5275, allocations: 11.88 kB / 1.433 GB, free: 2 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.5276, allocations: 17.72 kB / 1.433 GB, free: 1.977 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5277, allocations: 314.8 kB / 1.433 GB, free: 1.66 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.5277, allocations: 4 kB / 1.433 GB, free: 1.656 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.5278, allocations: 26.58 kB / 1.433 GB, free: 1.621 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.268e-05/0.5278, allocations: 34.5 kB / 1.433 GB, free: 1.578 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5278, allocations: 0 / 1.433 GB, free: 1.578 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.843e-05/0.5279, allocations: 53.62 kB / 1.433 GB, free: 1.52 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5279, allocations: 8 kB / 1.433 GB, free: 1.512 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5279, allocations: 4.094 kB / 1.433 GB, free: 1.508 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.528, allocations: 0 / 1.433 GB, free: 1.508 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.528, allocations: 11.94 kB / 1.433 GB, free: 1.496 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.528, allocations: 0 / 1.433 GB, free: 1.496 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.848e-05/0.5281, allocations: 7.891 kB / 1.433 GB, free: 1.488 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.5281, allocations: 4 kB / 1.433 GB, free: 1.484 MB / 1.123 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.317e-05/0.5282, allocations: 109.8 kB / 1.433 GB, free: 1.367 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.5282, allocations: 4 kB / 1.433 GB, free: 1.363 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.646e-05/0.5282, allocations: 7.141 kB / 1.433 GB, free: 1.359 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5282, allocations: 7.938 kB / 1.433 GB, free: 1.352 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.5282, allocations: 0 / 1.433 GB, free: 1.352 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5282, allocations: 0 / 1.433 GB, free: 1.352 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.5285, allocations: 309.9 kB / 1.433 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5285, allocations: 4 kB / 1.433 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/0.5285, allocations: 3.938 kB / 1.433 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5285, allocations: 0 / 1.433 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.5285, allocations: 256 / 1.433 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.5285, allocations: 7.938 kB / 1.433 GB, free: 0.9805 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5285, allocations: 8.016 kB / 1.433 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.194e-05/0.5286, allocations: 57.14 kB / 1.434 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.5286, allocations: 7.891 kB / 1.434 GB, free: 0.8906 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.5286, allocations: 7.938 kB / 1.434 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.5287, allocations: 3.984 kB / 1.434 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.5287, allocations: 0 / 1.434 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.5287, allocations: 4 kB / 1.434 GB, free: 0.875 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.225e-05/0.5288, allocations: 87.31 kB / 1.434 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.5288, allocations: 0 / 1.434 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0001942/0.529, allocations: 4 kB / 1.434 GB, free: 0.7852 MB / 1.123 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.0003794/0.5294, allocations: 0.5968 MB / 1.434 GB, free: 164 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 8.493e-05/0.5294, allocations: 24.02 kB / 1.434 GB, free: 140 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5294, allocations: 0 / 1.434 GB, free: 140 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 7.323e-06/0.5294, allocations: 7.875 kB / 1.434 GB, free: 132 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.5297, allocations: 4 kB / 1.434 GB, free: 128 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.5301, allocations: 140.5 kB / 1.434 GB, free: 15.95 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.5304, allocations: 0.6768 MB / 1.435 GB, free: 15.24 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 4.411e-05/0.5304, allocations: 8.25 kB / 1.435 GB, free: 15.23 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.5305, allocations: 7.438 kB / 1.435 GB, free: 15.23 MB / 1.139 GB Notification: Performance of SimCode: time 3.51e-07/0.5305, allocations: 0 / 1.435 GB, free: 15.23 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.559, allocations: 1.485 MB / 1.437 GB, free: 13.88 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.32, allocations: 10.31 kB / 1.437 GB, free: 13.88 MB / 1.139 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.011831814999823]