Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 192.2 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.172/2.172, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.771/4.771, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002496, allocations: 73.69 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3557, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1428/0.4985, allocations: 145.8 MB / 1.195 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001373/0.4987, allocations: 63.84 kB / 1.195 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.4987, allocations: 0 / 1.195 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.61e-05/0.4988, allocations: 4 kB / 1.195 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.429e-05/0.4989, allocations: 11.92 kB / 1.195 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.4994, allocations: 91.73 kB / 1.195 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.622e-05/0.4995, allocations: 35.84 kB / 1.195 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.4995, allocations: 7.984 kB / 1.195 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.881e-05/0.4995, allocations: 12 kB / 1.195 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.938e-05/0.4996, allocations: 23.91 kB / 1.195 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.4996, allocations: 0 / 1.195 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.4999, allocations: 79.67 kB / 1.195 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.5, allocations: 15.97 kB / 1.195 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.5, allocations: 11.94 kB / 1.195 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.5002, allocations: 72.12 kB / 1.195 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5002, allocations: 0 / 1.195 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5002, allocations: 0 / 1.195 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.5003, allocations: 0 / 1.195 GB, free: 5.91 MB / 0.9512 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.0004341/0.5007, allocations: 339.5 kB / 1.195 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.5008, allocations: 12.62 kB / 1.195 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.5008, allocations: 34.69 kB / 1.196 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.501, allocations: 16.92 kB / 1.196 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.5012, allocations: 176 kB / 1.196 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/0.5013, allocations: 29.7 kB / 1.196 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.5013, allocations: 0 / 1.196 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.5014, allocations: 45.69 kB / 1.196 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.5014, allocations: 4 kB / 1.196 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.5015, allocations: 0 / 1.196 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.5015, allocations: 3.984 kB / 1.196 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.657e-05/0.5015, allocations: 23.92 kB / 1.196 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.5019, allocations: 252.9 kB / 1.196 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.983e-05/0.502, allocations: 22.58 kB / 1.196 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.502, allocations: 12.89 kB / 1.196 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.044e-06/0.502, allocations: 3.984 kB / 1.196 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.5021, allocations: 34.56 kB / 1.196 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.784e-06/0.5021, allocations: 0 / 1.196 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.5022, allocations: 37.7 kB / 1.196 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.5022, allocations: 55.34 kB / 1.196 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.878e-05/0.5023, allocations: 106 kB / 1.196 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.5024, allocations: 29.7 kB / 1.196 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.5024, allocations: 91.95 kB / 1.196 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/0.5024, allocations: 4 kB / 1.196 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.5025, allocations: 13.72 kB / 1.196 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.5026, allocations: 318.8 kB / 1.197 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.5026, allocations: 4 kB / 1.197 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.361e-05/0.5027, allocations: 18.58 kB / 1.197 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.629e-05/0.5028, allocations: 38.5 kB / 1.197 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5028, allocations: 0 / 1.197 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001525/0.5029, allocations: 53.62 kB / 1.197 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.503, allocations: 5.406 kB / 1.197 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.503, allocations: 0 / 1.197 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.503, allocations: 8.094 kB / 1.197 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.5031, allocations: 11.94 kB / 1.197 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5031, allocations: 3.938 kB / 1.197 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.5032, allocations: 11.84 kB / 1.197 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.5032, allocations: 0 / 1.197 GB, free: 3.871 MB / 0.9512 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.988e-05/0.5033, allocations: 119.2 kB / 1.197 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.5033, allocations: 3.984 kB / 1.197 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.726e-05/0.5034, allocations: 7.125 kB / 1.197 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5034, allocations: 3.938 kB / 1.197 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5034, allocations: 4 kB / 1.197 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.5034, allocations: 0 / 1.197 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.5036, allocations: 342.8 kB / 1.197 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5037, allocations: 0 / 1.197 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/0.5037, allocations: 3.938 kB / 1.197 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.5037, allocations: 4 kB / 1.197 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.5037, allocations: 3.984 kB / 1.197 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5037, allocations: 0 / 1.197 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5037, allocations: 0 / 1.197 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.46e-05/0.5038, allocations: 65.11 kB / 1.197 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.5039, allocations: 84.95 kB / 1.198 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.5039, allocations: 256 / 1.198 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.454e-05/0.504, allocations: 11.98 kB / 1.198 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-06/0.504, allocations: 0 / 1.198 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.504, allocations: 0 / 1.198 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.504, allocations: 83.31 kB / 1.198 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5041, allocations: 0 / 1.198 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002099/0.5043, allocations: 12 kB / 1.198 GB, free: 3.035 MB / 0.9512 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.000338/0.5046, allocations: 0.5968 MB / 1.198 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.837e-05/0.5047, allocations: 16.02 kB / 1.198 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5047, allocations: 0 / 1.198 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.237e-06/0.5047, allocations: 7.938 kB / 1.198 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.505, allocations: 8 kB / 1.198 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.5054, allocations: 136.2 kB / 1.198 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.5057, allocations: 0.6768 MB / 1.199 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.471e-05/0.5057, allocations: 8.25 kB / 1.199 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.5058, allocations: 15.42 kB / 1.199 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.5058, allocations: 4 kB / 1.199 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.134/4.64, allocations: 1.266 MB / 1.2 GB, free: 416 kB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003523/4.64, allocations: 238.5 kB / 1.201 GB, free: 160 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.537/8.177, allocations: 10.92 kB / 1.201 GB, free: 152 kB / 0.9512 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches