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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008763/0.008763, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001807/0.001807, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.718/2.718, allocations: 437.1 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2785, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.8377/1.116, allocations: 147.8 MB / 1.311 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001751/1.116, allocations: 55.48 kB / 1.311 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/1.117, allocations: 2.062 kB / 1.311 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/1.117, allocations: 1.172 kB / 1.311 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.335e-05/1.117, allocations: 13.05 kB / 1.311 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/1.117, allocations: 104.6 kB / 1.311 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/1.117, allocations: 32.8 kB / 1.311 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/1.118, allocations: 10.12 kB / 1.311 GB, free: 12.44 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.142e-05/1.118, allocations: 23.06 kB / 1.311 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/1.118, allocations: 9.969 kB / 1.311 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/1.118, allocations: 2.344 kB / 1.311 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/1.118, allocations: 91.11 kB / 1.311 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/1.118, allocations: 6.297 kB / 1.311 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/1.118, allocations: 13.44 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/1.118, allocations: 70.78 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.118, allocations: 0 / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.495e-06/1.118, allocations: 1.281 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.16e-05/1.118, allocations: 4.891 kB / 1.311 GB, free: 12.41 MB / 1.014 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.0005011/1.119, allocations: 334.7 kB / 1.311 GB, free: 12.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/1.119, allocations: 10.28 kB / 1.311 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.724e-05/1.119, allocations: 32.83 kB / 1.311 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/1.119, allocations: 20.38 kB / 1.311 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/1.119, allocations: 166.8 kB / 1.311 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-05/1.12, allocations: 37.3 kB / 1.312 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/1.12, allocations: 1.344 kB / 1.312 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/1.12, allocations: 46.17 kB / 1.312 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.12, allocations: 0 / 1.312 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/1.12, allocations: 3.562 kB / 1.312 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/1.12, allocations: 2.984 kB / 1.312 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/1.12, allocations: 17.42 kB / 1.312 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/1.12, allocations: 263 kB / 1.312 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 3.674e-05/1.12, allocations: 20.92 kB / 1.312 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/1.12, allocations: 6.922 kB / 1.312 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/1.12, allocations: 0 / 1.312 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/1.12, allocations: 36.3 kB / 1.312 GB, free: 11.4 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/1.12, allocations: 0 / 1.312 GB, free: 11.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001335/1.121, allocations: 39.23 kB / 1.312 GB, free: 11.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/1.121, allocations: 61.08 kB / 1.312 GB, free: 11.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.204e-05/1.121, allocations: 103.9 kB / 1.312 GB, free: 11.19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/1.121, allocations: 25.7 kB / 1.312 GB, free: 11.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/1.121, allocations: 95.11 kB / 1.312 GB, free: 11.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-06/1.121, allocations: 4.641 kB / 1.312 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/1.121, allocations: 21.28 kB / 1.312 GB, free: 11.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.121, allocations: 317.2 kB / 1.313 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/1.121, allocations: 7.578 kB / 1.313 GB, free: 10.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/1.121, allocations: 33.33 kB / 1.313 GB, free: 10.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/1.121, allocations: 30.67 kB / 1.313 GB, free: 10.67 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/1.121, allocations: 1.875 kB / 1.313 GB, free: 10.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.325e-05/1.121, allocations: 56.23 kB / 1.313 GB, free: 10.63 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.121, allocations: 5.688 kB / 1.313 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/1.121, allocations: 0.6094 kB / 1.313 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/1.121, allocations: 1.188 kB / 1.313 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.942e-05/1.121, allocations: 6.656 kB / 1.313 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/1.121, allocations: 5.844 kB / 1.313 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/1.121, allocations: 1.25 kB / 1.313 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/1.121, allocations: 5.656 kB / 1.313 GB, free: 10.62 MB / 1.014 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 6.84e-05/1.121, allocations: 109.6 kB / 1.313 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/1.121, allocations: 8.875 kB / 1.313 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/1.121, allocations: 5.359 kB / 1.313 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/1.121, allocations: 0 / 1.313 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.121, allocations: 3.938 kB / 1.313 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/1.121, allocations: 1.781 kB / 1.313 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/1.122, allocations: 347.5 kB / 1.313 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.122, allocations: 0 / 1.313 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.427e-05/1.122, allocations: 1.828 kB / 1.313 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/1.122, allocations: 9.094 kB / 1.313 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/1.122, allocations: 0 / 1.313 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.122, allocations: 1.672 kB / 1.313 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.122, allocations: 0 / 1.313 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.555e-05/1.122, allocations: 65.89 kB / 1.313 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/1.122, allocations: 82.92 kB / 1.313 GB, free: 9.941 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/1.122, allocations: 0.7031 kB / 1.313 GB, free: 9.941 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/1.122, allocations: 7.422 kB / 1.313 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/1.122, allocations: 1.125 kB / 1.313 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/1.122, allocations: 0.6562 kB / 1.313 GB, free: 9.938 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.896e-05/1.122, allocations: 85.25 kB / 1.313 GB, free: 9.863 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.122, allocations: 0 / 1.313 GB, free: 9.863 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000226/1.122, allocations: 7.062 kB / 1.313 GB, free: 9.863 MB / 1.014 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.0003657/1.123, allocations: 0.5975 MB / 1.314 GB, free: 9.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.83e-05/1.123, allocations: 25.5 kB / 1.314 GB, free: 9.258 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.123, allocations: 0 / 1.314 GB, free: 9.258 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.802e-06/1.123, allocations: 6 kB / 1.314 GB, free: 9.254 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/1.123, allocations: 5.797 kB / 1.314 GB, free: 9.254 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/1.124, allocations: 141.6 kB / 1.314 GB, free: 9.109 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/1.124, allocations: 0.6755 MB / 1.315 GB, free: 8.414 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.796e-05/1.124, allocations: 5.766 kB / 1.315 GB, free: 8.414 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/1.124, allocations: 9.016 kB / 1.315 GB, free: 8.406 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/1.124, allocations: 0 / 1.315 GB, free: 8.406 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/1.14, allocations: 1.375 MB / 1.316 GB, free: 8.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/8.931, allocations: 5.016 kB / 1.316 GB, free: 8.066 MB / 1.014 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