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.001831/0.001831, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00249/0.00249, allocations: 215.5 kB / 22.25 MB, free: 5.113 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 8.016 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.352/3.352, allocations: 0.49 GB / 0.7951 GB, free: 33.48 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.002021/0.002021, allocations: 65.03 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4166, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1845/0.601, allocations: 151.2 MB / 1.474 GB, free: 10.17 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001821/0.6012, allocations: 55.75 kB / 1.474 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.6013, allocations: 0 / 1.474 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.6014, allocations: 3.984 kB / 1.474 GB, free: 10.11 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.6015, allocations: 11.92 kB / 1.474 GB, free: 10.1 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.6021, allocations: 120.4 kB / 1.474 GB, free: 9.984 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.6023, allocations: 31.91 kB / 1.474 GB, free: 9.953 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 6.914e-05/0.6023, allocations: 4 kB / 1.474 GB, free: 9.949 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 6.278e-05/0.6024, allocations: 19.86 kB / 1.474 GB, free: 9.93 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.6025, allocations: 11.98 kB / 1.474 GB, free: 9.918 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.6025, allocations: 0 / 1.474 GB, free: 9.918 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.6028, allocations: 95.7 kB / 1.474 GB, free: 9.824 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.6029, allocations: 11.98 kB / 1.474 GB, free: 9.812 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.6029, allocations: 11.94 kB / 1.474 GB, free: 9.801 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.6031, allocations: 76.05 kB / 1.474 GB, free: 9.727 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6031, allocations: 4 kB / 1.474 GB, free: 9.723 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6031, allocations: 0 / 1.474 GB, free: 9.723 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.669e-06/0.6031, allocations: 0 / 1.474 GB, free: 9.723 MB / 1.17 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.0004227/0.6035, allocations: 262.2 kB / 1.474 GB, free: 9.438 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.6036, allocations: 11.97 kB / 1.474 GB, free: 9.426 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.6036, allocations: 38.73 kB / 1.474 GB, free: 9.379 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.6039, allocations: 20.92 kB / 1.474 GB, free: 9.359 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.604, allocations: 106.3 kB / 1.474 GB, free: 9.23 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.178e-05/0.6041, allocations: 63.34 kB / 1.474 GB, free: 9.156 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.6041, allocations: 0 / 1.474 GB, free: 9.156 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.6042, allocations: 49.67 kB / 1.474 GB, free: 9.102 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.6043, allocations: 0 / 1.474 GB, free: 9.102 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.6043, allocations: 0 / 1.474 GB, free: 9.102 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.6043, allocations: 0 / 1.474 GB, free: 9.102 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.321e-05/0.6043, allocations: 19.98 kB / 1.475 GB, free: 9.082 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.6048, allocations: 235.9 kB / 1.475 GB, free: 8.809 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 9.678e-05/0.6049, allocations: 18.52 kB / 1.475 GB, free: 8.781 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/0.6049, allocations: 8.922 kB / 1.475 GB, free: 8.77 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.6049, allocations: 0 / 1.475 GB, free: 8.77 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.6049, allocations: 34.56 kB / 1.475 GB, free: 8.727 MB / 1.17 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.6049, allocations: 0 / 1.475 GB, free: 8.727 MB / 1.17 GB Notification: Performance of matching and sorting (n=1): time 0.0001712/0.6051, allocations: 33.7 kB / 1.475 GB, free: 8.688 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.6052, allocations: 63.28 kB / 1.475 GB, free: 8.613 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.6053, allocations: 105.8 kB / 1.475 GB, free: 8.5 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.6053, allocations: 25.7 kB / 1.475 GB, free: 8.469 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.6054, allocations: 88.03 kB / 1.475 GB, free: 8.379 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.6054, allocations: 7.891 kB / 1.475 GB, free: 8.371 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.6055, allocations: 25.83 kB / 1.475 GB, free: 8.34 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0003119/0.6058, allocations: 314.8 kB / 1.475 GB, free: 8.023 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.6058, allocations: 0 / 1.475 GB, free: 8.023 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.598e-05/0.6059, allocations: 30.56 kB / 1.475 GB, free: 7.984 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.6059, allocations: 34.52 kB / 1.475 GB, free: 7.941 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6059, allocations: 0 / 1.475 GB, free: 7.941 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001302/0.6061, allocations: 53.62 kB / 1.476 GB, free: 7.883 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.6061, allocations: 4 kB / 1.476 GB, free: 7.879 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.6061, allocations: 0 / 1.476 GB, free: 7.879 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.6061, allocations: 4 kB / 1.476 GB, free: 7.875 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.6062, allocations: 7.938 kB / 1.476 GB, free: 7.867 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.6062, allocations: 0 / 1.476 GB, free: 7.867 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.6062, allocations: 7.953 kB / 1.476 GB, free: 7.859 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.6062, allocations: 4.094 kB / 1.476 GB, free: 7.855 MB / 1.17 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.000128/0.6064, allocations: 117.8 kB / 1.476 GB, free: 7.73 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.6064, allocations: 0 / 1.476 GB, free: 7.73 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.6064, allocations: 3.156 kB / 1.476 GB, free: 7.723 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6064, allocations: 3.938 kB / 1.476 GB, free: 7.719 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6065, allocations: 4.25 kB / 1.476 GB, free: 7.715 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6065, allocations: 3.938 kB / 1.476 GB, free: 7.711 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.6069, allocations: 321.9 kB / 1.476 GB, free: 7.344 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.6069, allocations: 0 / 1.476 GB, free: 7.344 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.6069, allocations: 11.91 kB / 1.476 GB, free: 7.332 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.6069, allocations: 0 / 1.476 GB, free: 7.332 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.6069, allocations: 4 kB / 1.476 GB, free: 7.328 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.6069, allocations: 0 / 1.476 GB, free: 7.328 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6069, allocations: 0 / 1.476 GB, free: 7.328 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.607, allocations: 57.08 kB / 1.476 GB, free: 7.254 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.607, allocations: 15.95 kB / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.607, allocations: 0 / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.856e-05/0.6071, allocations: 7.984 kB / 1.476 GB, free: 7.23 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.6072, allocations: 0 / 1.476 GB, free: 7.23 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.6072, allocations: 0 / 1.476 GB, free: 7.23 MB / 1.17 GB Notification: Performance of sorting global known variables: time 6.766e-05/0.6072, allocations: 83.28 kB / 1.476 GB, free: 7.148 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6072, allocations: 3.938 kB / 1.476 GB, free: 7.145 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002273/0.6075, allocations: 8 kB / 1.476 GB, free: 7.137 MB / 1.17 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.0004899/0.6079, allocations: 0.6007 MB / 1.477 GB, free: 6.508 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.6081, allocations: 19.92 kB / 1.477 GB, free: 6.488 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6081, allocations: 0 / 1.477 GB, free: 6.488 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-06/0.6081, allocations: 0 / 1.477 GB, free: 6.488 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.6084, allocations: 6 kB / 1.477 GB, free: 6.484 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.6089, allocations: 148.4 kB / 1.477 GB, free: 6.301 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.6095, allocations: 0.6768 MB / 1.478 GB, free: 5.598 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 5.487e-05/0.6095, allocations: 7.984 kB / 1.478 GB, free: 5.59 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.6096, allocations: 7.438 kB / 1.478 GB, free: 5.582 MB / 1.17 GB Notification: Performance of SimCode: time 2.91e-07/0.6096, allocations: 4 kB / 1.478 GB, free: 5.578 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.6402, allocations: 1.466 MB / 1.479 GB, free: 4.25 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.98, allocations: 4 kB / 1.479 GB, free: 4.246 MB / 1.17 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.961006635101512]