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.001187/0.001187, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001348/0.001348, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9071/0.9071, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.728/1.728, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.252e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5968/0.5968, allocations: 130 MB / 1.077 GB, free: 40.22 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001214/0.5969, allocations: 56.64 kB / 1.077 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.597, allocations: 0 / 1.077 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.5971, allocations: 6.688 kB / 1.077 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.784e-05/0.5972, allocations: 18.59 kB / 1.078 GB, free: 40.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.5976, allocations: 103.6 kB / 1.078 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.402e-05/0.5977, allocations: 36 kB / 1.078 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.5977, allocations: 2.344 kB / 1.078 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.5978, allocations: 25.95 kB / 1.078 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.5978, allocations: 13.2 kB / 1.078 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.5978, allocations: 2.625 kB / 1.078 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.5981, allocations: 69.98 kB / 1.078 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.5981, allocations: 13.42 kB / 1.078 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.5981, allocations: 5.906 kB / 1.078 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.5983, allocations: 73.27 kB / 1.078 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5983, allocations: 3.938 kB / 1.078 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5983, allocations: 0 / 1.078 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5983, allocations: 0 / 1.078 GB, free: 40.18 MB / 0.9948 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.0003817/0.5987, allocations: 263.2 kB / 1.078 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.5987, allocations: 8.156 kB / 1.078 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.5988, allocations: 33.91 kB / 1.078 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.599, allocations: 17.3 kB / 1.078 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.472e-05/0.5991, allocations: 109.4 kB / 1.078 GB, free: 39.75 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.5991, allocations: 55.12 kB / 1.078 GB, free: 39.69 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.5991, allocations: 3.938 kB / 1.078 GB, free: 39.69 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.5993, allocations: 73.62 kB / 1.078 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5993, allocations: 5.203 kB / 1.078 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.5993, allocations: 2.031 kB / 1.078 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.5993, allocations: 3 kB / 1.078 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.447e-05/0.5994, allocations: 20.94 kB / 1.078 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.5997, allocations: 228.5 kB / 1.079 GB, free: 39.38 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.614e-05/0.5997, allocations: 20.73 kB / 1.079 GB, free: 39.36 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.5998, allocations: 4.859 kB / 1.079 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.5998, allocations: 0 / 1.079 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.5998, allocations: 37.53 kB / 1.079 GB, free: 39.31 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.5998, allocations: 0 / 1.079 GB, free: 39.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001404/0.5999, allocations: 43.52 kB / 1.079 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.6, allocations: 51.41 kB / 1.079 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.154e-05/0.6, allocations: 115.5 kB / 1.079 GB, free: 39.11 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.6, allocations: 25.7 kB / 1.079 GB, free: 39.08 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.6001, allocations: 91.02 kB / 1.079 GB, free: 38.99 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.6001, allocations: 3.375 kB / 1.079 GB, free: 38.99 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.6001, allocations: 12.53 kB / 1.079 GB, free: 38.97 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.296e-05/0.6001, allocations: 324.5 kB / 1.079 GB, free: 38.66 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.6001, allocations: 7 kB / 1.079 GB, free: 38.65 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.6001, allocations: 26.92 kB / 1.079 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/0.6002, allocations: 31.86 kB / 1.079 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6002, allocations: 0 / 1.079 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.021e-05/0.6002, allocations: 56.92 kB / 1.079 GB, free: 38.56 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.6002, allocations: 5.875 kB / 1.079 GB, free: 38.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6002, allocations: 0 / 1.079 GB, free: 38.56 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.6003, allocations: 4.094 kB / 1.079 GB, free: 38.56 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.103e-05/0.6003, allocations: 5.625 kB / 1.079 GB, free: 38.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.6003, allocations: 6.156 kB / 1.079 GB, free: 38.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.6003, allocations: 0 / 1.079 GB, free: 38.56 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-06/0.6003, allocations: 6.75 kB / 1.079 GB, free: 38.55 MB / 0.9948 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 4.856e-05/0.6004, allocations: 121 kB / 1.08 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.6004, allocations: 0 / 1.08 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.782e-05/0.6004, allocations: 5.938 kB / 1.08 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.6004, allocations: 0 / 1.08 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6004, allocations: 0 / 1.08 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.6004, allocations: 0 / 1.08 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.6006, allocations: 326.4 kB / 1.08 GB, free: 38.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6006, allocations: 0 / 1.08 GB, free: 38.08 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-06/0.6006, allocations: 96 / 1.08 GB, free: 38.08 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.6006, allocations: 3.984 kB / 1.08 GB, free: 38.08 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.6006, allocations: 2.844 kB / 1.08 GB, free: 38.08 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.6006, allocations: 5.141 kB / 1.08 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6006, allocations: 0 / 1.08 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.293e-05/0.6006, allocations: 65 kB / 1.08 GB, free: 38 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.6006, allocations: 3.562 kB / 1.08 GB, free: 38 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.6006, allocations: 64 / 1.08 GB, free: 38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.746e-05/0.6007, allocations: 14.69 kB / 1.08 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.6007, allocations: 3.328 kB / 1.08 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.6007, allocations: 3.906 kB / 1.08 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.96e-05/0.6007, allocations: 80.81 kB / 1.08 GB, free: 37.92 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.6007, allocations: 0 / 1.08 GB, free: 37.92 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001208/0.6008, allocations: 8.812 kB / 1.08 GB, free: 37.92 MB / 0.9948 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.0001377/0.601, allocations: 0.5941 MB / 1.081 GB, free: 37.33 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 5.846e-05/0.601, allocations: 15.86 kB / 1.081 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.601, allocations: 0 / 1.081 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.646e-06/0.601, allocations: 6.75 kB / 1.081 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.6012, allocations: 13.84 kB / 1.081 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.6015, allocations: 133.4 kB / 1.081 GB, free: 37.18 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.6015, allocations: 57.05 kB / 1.081 GB, free: 37.11 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 4.897e-05/0.6016, allocations: 13.27 kB / 1.081 GB, free: 37.11 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.6016, allocations: 8.5 kB / 1.081 GB, free: 37.11 MB / 0.9948 GB Notification: Performance of SimCode: time 1.042e-06/0.6016, allocations: 1.094 kB / 1.081 GB, free: 37.11 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.6168, allocations: 2.039 MB / 1.083 GB, free: 36.25 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.854/7.47, allocations: 7.375 kB / 1.083 GB, free: 36.25 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 11.614788905717432]