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.001242/0.001242, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001412/0.001412, allocations: 219.3 kB / 22.25 MB, free: 5.105 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.805 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.032/3.032, allocations: 0.49 GB / 0.7951 GB, free: 35.53 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.00253/0.00253, allocations: 70.36 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3562, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1597/0.5159, allocations: 129.9 MB / 1.453 GB, free: 15.07 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001397/0.516, allocations: 55.88 kB / 1.453 GB, free: 15.02 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.516, allocations: 4 kB / 1.453 GB, free: 15.02 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 9.839e-05/0.5161, allocations: 7.922 kB / 1.453 GB, free: 15.01 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.681e-05/0.5162, allocations: 7.875 kB / 1.453 GB, free: 15 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.5166, allocations: 114.9 kB / 1.453 GB, free: 14.89 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.5167, allocations: 35.86 kB / 1.453 GB, free: 14.86 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.5167, allocations: 4 kB / 1.453 GB, free: 14.85 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.5168, allocations: 19.92 kB / 1.453 GB, free: 14.83 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.231e-05/0.5168, allocations: 7.984 kB / 1.453 GB, free: 14.82 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.5169, allocations: 0 / 1.453 GB, free: 14.82 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.5171, allocations: 75.72 kB / 1.453 GB, free: 14.75 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.5171, allocations: 11.94 kB / 1.453 GB, free: 14.74 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.5172, allocations: 11.98 kB / 1.453 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.5173, allocations: 68.08 kB / 1.453 GB, free: 14.66 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5173, allocations: 0 / 1.453 GB, free: 14.66 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5173, allocations: 0 / 1.453 GB, free: 14.66 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.5173, allocations: 4 kB / 1.453 GB, free: 14.66 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003593/0.5177, allocations: 270.2 kB / 1.453 GB, free: 14.36 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.5177, allocations: 8.031 kB / 1.453 GB, free: 14.36 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.5177, allocations: 34.69 kB / 1.453 GB, free: 14.31 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.5179, allocations: 20.91 kB / 1.453 GB, free: 14.29 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.518, allocations: 114.3 kB / 1.454 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.791e-05/0.5181, allocations: 51.41 kB / 1.454 GB, free: 14.09 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.5181, allocations: 0 / 1.454 GB, free: 14.09 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.5183, allocations: 75.39 kB / 1.454 GB, free: 14.01 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.5183, allocations: 0 / 1.454 GB, free: 14.01 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.5183, allocations: 3.984 kB / 1.454 GB, free: 14 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.5183, allocations: 4 kB / 1.454 GB, free: 14 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.5184, allocations: 19.92 kB / 1.454 GB, free: 13.98 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.5187, allocations: 232 kB / 1.454 GB, free: 13.71 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 4.132e-05/0.5188, allocations: 18.56 kB / 1.454 GB, free: 13.68 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.5188, allocations: 4.859 kB / 1.454 GB, free: 13.68 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-06/0.5188, allocations: 4 kB / 1.454 GB, free: 13.67 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.5188, allocations: 34.62 kB / 1.454 GB, free: 13.63 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.5188, allocations: 0 / 1.454 GB, free: 13.63 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001188/0.5189, allocations: 37.64 kB / 1.454 GB, free: 13.59 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.519, allocations: 59.33 kB / 1.454 GB, free: 13.52 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.5191, allocations: 105.9 kB / 1.454 GB, free: 13.4 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.5191, allocations: 25.7 kB / 1.454 GB, free: 13.37 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.5191, allocations: 95.97 kB / 1.454 GB, free: 13.27 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-06/0.5191, allocations: 0 / 1.454 GB, free: 13.27 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.5192, allocations: 21.66 kB / 1.454 GB, free: 13.25 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5193, allocations: 319 kB / 1.455 GB, free: 12.93 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.5193, allocations: 4.234 kB / 1.455 GB, free: 12.92 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.5193, allocations: 30.52 kB / 1.455 GB, free: 12.88 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.5194, allocations: 34.52 kB / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5194, allocations: 0 / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.451e-05/0.5195, allocations: 53.62 kB / 1.455 GB, free: 12.78 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.5195, allocations: 4 kB / 1.455 GB, free: 12.78 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.5195, allocations: 8.094 kB / 1.455 GB, free: 12.77 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.5195, allocations: 0 / 1.455 GB, free: 12.77 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.5196, allocations: 11.92 kB / 1.455 GB, free: 12.76 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5196, allocations: 4 kB / 1.455 GB, free: 12.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.5196, allocations: 3.953 kB / 1.455 GB, free: 12.75 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.5196, allocations: 4 kB / 1.455 GB, free: 12.75 MB / 1.154 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 7.762e-05/0.5197, allocations: 113.8 kB / 1.455 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.5197, allocations: 4 kB / 1.455 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.837e-05/0.5197, allocations: 3.156 kB / 1.455 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5197, allocations: 3.938 kB / 1.455 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5197, allocations: 4 kB / 1.455 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.5197, allocations: 0 / 1.455 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.52, allocations: 309.9 kB / 1.455 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.52, allocations: 7.984 kB / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.595e-05/0.52, allocations: 3.938 kB / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.52, allocations: 0 / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.52, allocations: 0 / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.52, allocations: 0 / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.52, allocations: 0 / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.348e-05/0.5201, allocations: 61.08 kB / 1.455 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.5201, allocations: 15.95 kB / 1.455 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.5201, allocations: 3.984 kB / 1.455 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.5202, allocations: 0 / 1.455 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-06/0.5202, allocations: 4 kB / 1.455 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-06/0.5202, allocations: 0 / 1.455 GB, free: 12.14 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.077e-05/0.5203, allocations: 87.27 kB / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5203, allocations: 0 / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001839/0.5204, allocations: 8 kB / 1.455 GB, free: 12.04 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 (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.0003543/0.5208, allocations: 0.6008 MB / 1.456 GB, free: 11.41 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 6.849e-05/0.5209, allocations: 20.02 kB / 1.456 GB, free: 11.39 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5209, allocations: 0 / 1.456 GB, free: 11.39 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 6.643e-06/0.5209, allocations: 4 kB / 1.456 GB, free: 11.39 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.5211, allocations: 8.938 kB / 1.456 GB, free: 11.38 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.5214, allocations: 148.3 kB / 1.456 GB, free: 11.2 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.993e-05/0.5215, allocations: 67.28 kB / 1.456 GB, free: 11.11 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 4.466e-05/0.5215, allocations: 12.33 kB / 1.456 GB, free: 11.1 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.5216, allocations: 11.42 kB / 1.456 GB, free: 11.09 MB / 1.154 GB Notification: Performance of SimCode: time 2.61e-07/0.5216, allocations: 0 / 1.456 GB, free: 11.09 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.5493, allocations: 1.908 MB / 1.458 GB, free: 9.32 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.88, allocations: 10.06 kB / 1.458 GB, free: 9.312 MB / 1.154 GB " [Timeout remaining time 289] (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: 17.30164256700664]