Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.0007763/0.0007763, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004549/0.004549, allocations: 170.2 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.394/2.394, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003013, allocations: 8.281 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.534/0.5343, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.135/0.6693, allocations: 143.7 MB / 1.163 GB, free: 15.6 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001095/0.6695, allocations: 47.88 kB / 1.164 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.656e-05/0.6695, allocations: 0 / 1.164 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.705e-05/0.6696, allocations: 0 / 1.164 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.6697, allocations: 23.91 kB / 1.164 GB, free: 15.53 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.6701, allocations: 99.34 kB / 1.164 GB, free: 15.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.229e-05/0.6702, allocations: 59.83 kB / 1.164 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.6702, allocations: 3.984 kB / 1.164 GB, free: 15.37 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.6703, allocations: 11.98 kB / 1.164 GB, free: 15.36 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.6703, allocations: 15.92 kB / 1.164 GB, free: 15.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.6704, allocations: 0 / 1.164 GB, free: 15.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.6706, allocations: 87.72 kB / 1.164 GB, free: 15.26 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.6707, allocations: 4 kB / 1.164 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.6707, allocations: 45.61 kB / 1.164 GB, free: 15.2 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.6708, allocations: 62.17 kB / 1.164 GB, free: 15.14 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6709, allocations: 0 / 1.164 GB, free: 15.14 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6709, allocations: 0 / 1.164 GB, free: 15.14 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.6709, allocations: 7.938 kB / 1.164 GB, free: 15.14 MB / 0.92 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.0003101/0.6712, allocations: 335.5 kB / 1.164 GB, free: 14.76 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.6712, allocations: 8.031 kB / 1.164 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.6713, allocations: 34.73 kB / 1.164 GB, free: 14.71 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.6715, allocations: 24.92 kB / 1.164 GB, free: 14.69 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.6716, allocations: 164.1 kB / 1.164 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/0.6717, allocations: 29.64 kB / 1.164 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.6717, allocations: 0 / 1.164 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.6718, allocations: 49.67 kB / 1.165 GB, free: 14.4 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.6718, allocations: 0 / 1.165 GB, free: 14.4 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.6718, allocations: 0 / 1.165 GB, free: 14.4 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.6718, allocations: 4 kB / 1.165 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.32e-05/0.6719, allocations: 23.92 kB / 1.165 GB, free: 14.37 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.6723, allocations: 264.8 kB / 1.165 GB, free: 14.06 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.677e-05/0.6723, allocations: 22.56 kB / 1.165 GB, free: 14.03 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.6723, allocations: 4.859 kB / 1.165 GB, free: 14.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.6723, allocations: 4 kB / 1.165 GB, free: 14.02 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.6724, allocations: 38.62 kB / 1.165 GB, free: 13.97 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.6724, allocations: 0 / 1.165 GB, free: 13.97 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001172/0.6725, allocations: 33.64 kB / 1.165 GB, free: 13.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.6725, allocations: 55.34 kB / 1.165 GB, free: 13.87 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.142e-05/0.6726, allocations: 109.8 kB / 1.165 GB, free: 13.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.6726, allocations: 25.7 kB / 1.165 GB, free: 13.72 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.6727, allocations: 95.98 kB / 1.165 GB, free: 13.62 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.693e-06/0.6727, allocations: 12.02 kB / 1.165 GB, free: 13.61 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.6727, allocations: 9.719 kB / 1.165 GB, free: 13.59 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.6728, allocations: 314.8 kB / 1.166 GB, free: 13.28 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.6728, allocations: 4 kB / 1.166 GB, free: 13.27 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.6729, allocations: 22.56 kB / 1.166 GB, free: 13.24 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.865e-05/0.6729, allocations: 34.52 kB / 1.166 GB, free: 13.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6729, allocations: 4 kB / 1.166 GB, free: 13.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.499e-05/0.673, allocations: 53.62 kB / 1.166 GB, free: 13.14 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.673, allocations: 4 kB / 1.166 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.673, allocations: 0 / 1.166 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.6731, allocations: 0 / 1.166 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.6731, allocations: 11.94 kB / 1.166 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.6731, allocations: 0 / 1.166 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.947e-05/0.6732, allocations: 4 kB / 1.166 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.6732, allocations: 4.344 kB / 1.166 GB, free: 13.11 MB / 0.92 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.38e-05/0.6733, allocations: 121.8 kB / 1.166 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.6733, allocations: 7.844 kB / 1.166 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.722e-05/0.6733, allocations: 3.125 kB / 1.166 GB, free: 12.97 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.6733, allocations: 7.938 kB / 1.166 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.6733, allocations: 0 / 1.166 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.6733, allocations: 4 kB / 1.166 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.6736, allocations: 342.8 kB / 1.166 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.6736, allocations: 3.984 kB / 1.166 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.547e-05/0.6736, allocations: 3.938 kB / 1.166 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6736, allocations: 0 / 1.166 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.6736, allocations: 0 / 1.166 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6736, allocations: 0 / 1.166 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6736, allocations: 7.938 kB / 1.166 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.323e-05/0.6737, allocations: 57.17 kB / 1.166 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.6738, allocations: 81.05 kB / 1.166 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.6738, allocations: 7.984 kB / 1.166 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.6739, allocations: 0 / 1.166 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.166e-05/0.6739, allocations: 4 kB / 1.166 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.6739, allocations: 0 / 1.166 GB, free: 12.37 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.6739, allocations: 87.27 kB / 1.166 GB, free: 12.28 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.674, allocations: 0 / 1.166 GB, free: 12.28 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001967/0.6742, allocations: 8 kB / 1.166 GB, free: 12.27 MB / 0.92 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.0002836/0.6744, allocations: 0.6108 MB / 1.167 GB, free: 11.64 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 5.919e-05/0.6745, allocations: 15.98 kB / 1.167 GB, free: 11.62 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6745, allocations: 0 / 1.167 GB, free: 11.62 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.235e-06/0.6745, allocations: 7.938 kB / 1.167 GB, free: 11.61 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.6747, allocations: 8.281 kB / 1.167 GB, free: 11.61 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.675, allocations: 150.1 kB / 1.167 GB, free: 11.41 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.6753, allocations: 0.677 MB / 1.168 GB, free: 10.71 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.245e-05/0.6753, allocations: 7.984 kB / 1.168 GB, free: 10.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.6753, allocations: 11.44 kB / 1.168 GB, free: 10.69 MB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/0.6754, allocations: 0 / 1.168 GB, free: 10.69 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5476/1.223, allocations: 1.159 MB / 1.169 GB, free: 9.711 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/1.223, allocations: 236.7 kB / 1.169 GB, free: 9.453 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.773, allocations: 0 / 1.169 GB, free: 9.453 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches