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.001359/0.001359, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001438/0.001438, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.793 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.267/3.267, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] 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.002177/0.002177, allocations: 73.19 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3443, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1732/0.5174, allocations: 129.9 MB / 1.452 GB, free: 15.92 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.000173/0.5176, allocations: 51.83 kB / 1.452 GB, free: 15.87 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.5176, allocations: 0 / 1.452 GB, free: 15.87 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.5178, allocations: 7.984 kB / 1.452 GB, free: 15.86 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 9.218e-05/0.5179, allocations: 11.92 kB / 1.452 GB, free: 15.85 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.5184, allocations: 114.8 kB / 1.452 GB, free: 15.74 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.5185, allocations: 35.91 kB / 1.452 GB, free: 15.71 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.5186, allocations: 0 / 1.452 GB, free: 15.71 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.5186, allocations: 15.92 kB / 1.452 GB, free: 15.69 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 8.973e-05/0.5187, allocations: 19.92 kB / 1.452 GB, free: 15.67 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.5188, allocations: 0 / 1.452 GB, free: 15.67 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.5191, allocations: 67.73 kB / 1.452 GB, free: 15.61 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.5191, allocations: 19.97 kB / 1.452 GB, free: 15.59 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.5191, allocations: 4 kB / 1.452 GB, free: 15.58 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.5193, allocations: 72.08 kB / 1.452 GB, free: 15.51 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5193, allocations: 0 / 1.452 GB, free: 15.51 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5193, allocations: 0 / 1.452 GB, free: 15.51 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.5193, allocations: 0 / 1.452 GB, free: 15.51 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.000415/0.5197, allocations: 262.2 kB / 1.453 GB, free: 15.23 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.5198, allocations: 12.03 kB / 1.453 GB, free: 15.21 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.5198, allocations: 34.75 kB / 1.453 GB, free: 15.17 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.5201, allocations: 20.91 kB / 1.453 GB, free: 15.15 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.5202, allocations: 114.2 kB / 1.453 GB, free: 15.02 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/0.5203, allocations: 55.41 kB / 1.453 GB, free: 14.95 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.5203, allocations: 0 / 1.453 GB, free: 14.95 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.5205, allocations: 83.34 kB / 1.453 GB, free: 14.86 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.5205, allocations: 0 / 1.453 GB, free: 14.86 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.5205, allocations: 0 / 1.453 GB, free: 14.86 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.5205, allocations: 4 kB / 1.453 GB, free: 14.85 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.34e-05/0.5206, allocations: 15.98 kB / 1.453 GB, free: 14.84 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.521, allocations: 231.9 kB / 1.453 GB, free: 14.57 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 4.919e-05/0.521, allocations: 26.52 kB / 1.453 GB, free: 14.53 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.5211, allocations: 4.859 kB / 1.453 GB, free: 14.52 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.5211, allocations: 0 / 1.453 GB, free: 14.52 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.5211, allocations: 34.62 kB / 1.453 GB, free: 14.48 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5211, allocations: 3.938 kB / 1.453 GB, free: 14.48 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.5213, allocations: 37.69 kB / 1.453 GB, free: 14.43 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.5213, allocations: 59.28 kB / 1.453 GB, free: 14.36 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.5214, allocations: 105.9 kB / 1.453 GB, free: 14.25 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.5214, allocations: 25.7 kB / 1.453 GB, free: 14.22 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.5215, allocations: 100.1 kB / 1.454 GB, free: 14.12 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.5215, allocations: 4 kB / 1.454 GB, free: 14.11 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.5215, allocations: 17.72 kB / 1.454 GB, free: 14.09 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.5217, allocations: 310.8 kB / 1.454 GB, free: 13.78 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.5217, allocations: 11.98 kB / 1.454 GB, free: 13.77 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.5218, allocations: 22.58 kB / 1.454 GB, free: 13.73 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.5218, allocations: 30.52 kB / 1.454 GB, free: 13.7 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5218, allocations: 0 / 1.454 GB, free: 13.7 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001086/0.5219, allocations: 57.62 kB / 1.454 GB, free: 13.63 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.522, allocations: 4 kB / 1.454 GB, free: 13.63 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.522, allocations: 0 / 1.454 GB, free: 13.63 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.522, allocations: 4 kB / 1.454 GB, free: 13.62 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.5221, allocations: 11.92 kB / 1.454 GB, free: 13.61 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.5221, allocations: 0 / 1.454 GB, free: 13.61 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.5221, allocations: 7.953 kB / 1.454 GB, free: 13.61 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.5221, allocations: 0 / 1.454 GB, free: 13.61 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 0.0001046/0.5222, allocations: 113.8 kB / 1.454 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.5222, allocations: 96 / 1.454 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.5223, allocations: 11.16 kB / 1.454 GB, free: 13.47 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5223, allocations: 3.938 kB / 1.454 GB, free: 13.46 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5223, allocations: 0 / 1.454 GB, free: 13.46 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5223, allocations: 0 / 1.454 GB, free: 13.46 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.5226, allocations: 317.8 kB / 1.454 GB, free: 13.1 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5226, allocations: 0 / 1.454 GB, free: 13.1 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.5226, allocations: 7.938 kB / 1.454 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5226, allocations: 3.938 kB / 1.454 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.5226, allocations: 0 / 1.454 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5226, allocations: 0 / 1.454 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5226, allocations: 4.031 kB / 1.454 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.453e-05/0.5227, allocations: 61.08 kB / 1.455 GB, free: 13.01 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.5227, allocations: 11.88 kB / 1.455 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.5228, allocations: 4 kB / 1.455 GB, free: 12.99 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.5228, allocations: 256 / 1.455 GB, free: 12.99 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.5229, allocations: 0 / 1.455 GB, free: 12.99 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.5229, allocations: 12 kB / 1.455 GB, free: 12.98 MB / 1.154 GB Notification: Performance of sorting global known variables: time 6.034e-05/0.5229, allocations: 83.27 kB / 1.455 GB, free: 12.9 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5229, allocations: 0 / 1.455 GB, free: 12.9 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001987/0.5231, allocations: 11.94 kB / 1.455 GB, free: 12.89 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.000431/0.5236, allocations: 0.6007 MB / 1.455 GB, free: 12.26 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 9.59e-05/0.5236, allocations: 15.94 kB / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5236, allocations: 0 / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.043e-05/0.5237, allocations: 4 kB / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.5239, allocations: 0 / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.5244, allocations: 154.5 kB / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.824e-05/0.5244, allocations: 63.64 kB / 1.455 GB, free: 11.97 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 6.131e-05/0.5245, allocations: 12.06 kB / 1.455 GB, free: 11.96 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.5245, allocations: 7.438 kB / 1.455 GB, free: 11.95 MB / 1.154 GB Notification: Performance of SimCode: time 4.81e-07/0.5245, allocations: 0 / 1.455 GB, free: 11.95 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.5546, allocations: 1.882 MB / 1.457 GB, free: 10.2 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.79, allocations: 11.69 kB / 1.457 GB, free: 10.2 MB / 1.154 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 18.530227025039494]