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.001816/0.001816, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002181/0.002181, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.611/1.611, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.861/2.861, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="cs",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.002093/0.002093, allocations: 67.11 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.332, allocations: 170 MB / 1.284 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.179/0.511, allocations: 151.2 MB / 1.432 GB, free: 3.855 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.5112, allocations: 51.86 kB / 1.432 GB, free: 3.805 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.5112, allocations: 4 kB / 1.432 GB, free: 3.801 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.5113, allocations: 7.922 kB / 1.432 GB, free: 3.793 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 7.573e-05/0.5114, allocations: 7.938 kB / 1.432 GB, free: 3.785 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.5119, allocations: 112.5 kB / 1.432 GB, free: 3.676 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 9.495e-05/0.512, allocations: 35.84 kB / 1.432 GB, free: 3.641 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.512, allocations: 8 kB / 1.432 GB, free: 3.633 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.5121, allocations: 11.94 kB / 1.432 GB, free: 3.621 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 8.475e-05/0.5122, allocations: 23.97 kB / 1.432 GB, free: 3.598 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.5122, allocations: 0 / 1.432 GB, free: 3.598 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.5125, allocations: 91.7 kB / 1.432 GB, free: 3.508 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.5125, allocations: 7.984 kB / 1.432 GB, free: 3.5 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.5126, allocations: 11.94 kB / 1.432 GB, free: 3.488 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.5127, allocations: 71.34 kB / 1.432 GB, free: 3.422 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5127, allocations: 4 kB / 1.432 GB, free: 3.418 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5127, allocations: 0 / 1.432 GB, free: 3.418 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.5128, allocations: 0 / 1.432 GB, free: 3.418 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.000424/0.5132, allocations: 270.2 kB / 1.432 GB, free: 3.125 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.5132, allocations: 12.03 kB / 1.432 GB, free: 3.113 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.75e-05/0.5132, allocations: 4.125 kB / 1.432 GB, free: 3.109 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.5133, allocations: 34.75 kB / 1.432 GB, free: 3.066 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.5135, allocations: 20.91 kB / 1.433 GB, free: 3.047 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.5136, allocations: 105.9 kB / 1.433 GB, free: 2.918 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.5137, allocations: 55.41 kB / 1.433 GB, free: 2.852 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.5137, allocations: 4 kB / 1.433 GB, free: 2.848 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.5139, allocations: 49.67 kB / 1.433 GB, free: 2.793 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.5139, allocations: 3.984 kB / 1.433 GB, free: 2.789 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.5139, allocations: 0 / 1.433 GB, free: 2.789 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.5139, allocations: 0 / 1.433 GB, free: 2.789 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.968e-05/0.514, allocations: 23.92 kB / 1.433 GB, free: 2.766 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.5144, allocations: 231.9 kB / 1.433 GB, free: 2.496 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 5.158e-05/0.5144, allocations: 18.62 kB / 1.433 GB, free: 2.469 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.5145, allocations: 8.844 kB / 1.433 GB, free: 2.457 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.5145, allocations: 0 / 1.433 GB, free: 2.457 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.5145, allocations: 34.56 kB / 1.433 GB, free: 2.414 MB / 1.123 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.5145, allocations: 0 / 1.433 GB, free: 2.414 MB / 1.123 GB Notification: Performance of matching and sorting (n=1): time 0.0001535/0.5147, allocations: 41.64 kB / 1.433 GB, free: 2.367 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.5147, allocations: 59.47 kB / 1.433 GB, free: 2.297 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.5148, allocations: 105.8 kB / 1.433 GB, free: 2.184 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.5148, allocations: 29.64 kB / 1.433 GB, free: 2.148 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.5149, allocations: 92.02 kB / 1.433 GB, free: 2.055 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.5149, allocations: 11.95 kB / 1.433 GB, free: 2.043 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.5149, allocations: 17.7 kB / 1.433 GB, free: 2.02 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5151, allocations: 314.8 kB / 1.434 GB, free: 1.703 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.5151, allocations: 4 kB / 1.434 GB, free: 1.699 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.5151, allocations: 22.58 kB / 1.434 GB, free: 1.668 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.5152, allocations: 34.5 kB / 1.434 GB, free: 1.625 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5152, allocations: 256 / 1.434 GB, free: 1.625 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.606e-05/0.5153, allocations: 53.62 kB / 1.434 GB, free: 1.566 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.5153, allocations: 8.094 kB / 1.434 GB, free: 1.559 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.5153, allocations: 8 kB / 1.434 GB, free: 1.551 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.5153, allocations: 3.938 kB / 1.434 GB, free: 1.547 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.5154, allocations: 4 kB / 1.434 GB, free: 1.543 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.5154, allocations: 4 kB / 1.434 GB, free: 1.539 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.5154, allocations: 3.953 kB / 1.434 GB, free: 1.535 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.5154, allocations: 4 kB / 1.434 GB, free: 1.531 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.624e-05/0.5155, allocations: 113.8 kB / 1.434 GB, free: 1.41 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.5155, allocations: 3.984 kB / 1.434 GB, free: 1.406 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.5156, allocations: 15.09 kB / 1.434 GB, free: 1.395 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.5156, allocations: 0 / 1.434 GB, free: 1.395 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5156, allocations: 0 / 1.434 GB, free: 1.395 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.5156, allocations: 0 / 1.434 GB, free: 1.395 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.5159, allocations: 317.8 kB / 1.434 GB, free: 1.031 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5159, allocations: 0 / 1.434 GB, free: 1.031 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.5159, allocations: 4 kB / 1.434 GB, free: 1.027 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.5159, allocations: 0 / 1.434 GB, free: 1.027 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5159, allocations: 8.016 kB / 1.434 GB, free: 1.02 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5159, allocations: 0 / 1.434 GB, free: 1.02 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5159, allocations: 0 / 1.434 GB, free: 1.02 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.516, allocations: 61.02 kB / 1.434 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.516, allocations: 0 / 1.434 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.5161, allocations: 0 / 1.434 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.5162, allocations: 15.92 kB / 1.434 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.5162, allocations: 32 / 1.434 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.5162, allocations: 4 kB / 1.434 GB, free: 0.9219 MB / 1.123 GB Notification: Performance of sorting global known variables: time 6.486e-05/0.5162, allocations: 79.28 kB / 1.434 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5162, allocations: 0 / 1.434 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002076/0.5165, allocations: 8 kB / 1.434 GB, free: 0.8359 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.0004776/0.5169, allocations: 0.6046 MB / 1.435 GB, free: 208 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.517, allocations: 19.92 kB / 1.435 GB, free: 188 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.5171, allocations: 0 / 1.435 GB, free: 188 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-06/0.5171, allocations: 4 kB / 1.435 GB, free: 184 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.5174, allocations: 4.125 kB / 1.435 GB, free: 180 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.518, allocations: 152.7 kB / 1.435 GB, free: 15.98 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.5184, allocations: 0.6809 MB / 1.436 GB, free: 15.27 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 6.14e-05/0.5184, allocations: 8.078 kB / 1.436 GB, free: 15.27 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.5185, allocations: 7.438 kB / 1.436 GB, free: 15.26 MB / 1.139 GB Notification: Performance of SimCode: time 5.41e-07/0.5185, allocations: 0 / 1.436 GB, free: 15.26 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.5485, allocations: 1.503 MB / 1.437 GB, free: 13.91 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.31, allocations: 0 / 1.437 GB, free: 13.91 MB / 1.139 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 19.371247756993398]