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: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007359/0.007359, allocations: 102 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.001671/0.001671, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7347 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 68.02 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8648/0.8661, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1658/1.032, allocations: 147.8 MB / 1.352 GB, free: 9.184 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002223/1.032, allocations: 55.8 kB / 1.352 GB, free: 9.129 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.275e-05/1.032, allocations: 0 / 1.352 GB, free: 9.129 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001655/1.032, allocations: 7.922 kB / 1.352 GB, free: 9.121 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.757e-05/1.033, allocations: 11.92 kB / 1.352 GB, free: 9.109 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/1.033, allocations: 107 kB / 1.352 GB, free: 9.008 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000107/1.033, allocations: 39.84 kB / 1.352 GB, free: 8.969 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/1.033, allocations: 3.984 kB / 1.352 GB, free: 8.965 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/1.033, allocations: 15.97 kB / 1.352 GB, free: 8.949 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/1.033, allocations: 15.92 kB / 1.352 GB, free: 8.934 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/1.033, allocations: 0 / 1.352 GB, free: 8.934 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/1.034, allocations: 83.72 kB / 1.352 GB, free: 8.852 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/1.034, allocations: 4 kB / 1.352 GB, free: 8.848 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/1.034, allocations: 19.92 kB / 1.352 GB, free: 8.828 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/1.034, allocations: 75.78 kB / 1.353 GB, free: 8.754 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.034, allocations: 0 / 1.353 GB, free: 8.754 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.395e-06/1.034, allocations: 0 / 1.353 GB, free: 8.754 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.016e-05/1.034, allocations: 0 / 1.353 GB, free: 8.754 MB / 1.076 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.0004628/1.035, allocations: 339.4 kB / 1.353 GB, free: 8.379 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.035, allocations: 8.031 kB / 1.353 GB, free: 8.371 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/1.035, allocations: 20.83 kB / 1.353 GB, free: 8.352 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/1.035, allocations: 168.4 kB / 1.353 GB, free: 8.148 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/1.035, allocations: 33.64 kB / 1.353 GB, free: 8.109 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/1.035, allocations: 0 / 1.353 GB, free: 8.109 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/1.035, allocations: 49.67 kB / 1.353 GB, free: 8.055 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.035, allocations: 0 / 1.353 GB, free: 8.055 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/1.035, allocations: 3.938 kB / 1.353 GB, free: 8.051 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/1.035, allocations: 0 / 1.353 GB, free: 8.051 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.123e-05/1.035, allocations: 23.92 kB / 1.353 GB, free: 8.027 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/1.036, allocations: 262.7 kB / 1.353 GB, free: 7.723 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/1.036, allocations: 14.58 kB / 1.353 GB, free: 7.699 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/1.036, allocations: 8.922 kB / 1.353 GB, free: 7.688 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/1.036, allocations: 0 / 1.353 GB, free: 7.688 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/1.036, allocations: 30.56 kB / 1.353 GB, free: 7.648 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 2.525e-06/1.036, allocations: 4 kB / 1.353 GB, free: 7.645 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001508/1.036, allocations: 37.62 kB / 1.353 GB, free: 7.602 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/1.036, allocations: 59.34 kB / 1.354 GB, free: 7.531 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/1.036, allocations: 109.8 kB / 1.354 GB, free: 7.414 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/1.036, allocations: 25.7 kB / 1.354 GB, free: 7.383 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/1.036, allocations: 95.95 kB / 1.354 GB, free: 7.285 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.321e-06/1.036, allocations: 0 / 1.354 GB, free: 7.285 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/1.037, allocations: 17.72 kB / 1.354 GB, free: 7.262 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.037, allocations: 319 kB / 1.354 GB, free: 6.941 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/1.037, allocations: 3.984 kB / 1.354 GB, free: 6.938 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.268e-05/1.037, allocations: 26.58 kB / 1.354 GB, free: 6.902 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.362e-05/1.037, allocations: 30.52 kB / 1.354 GB, free: 6.863 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.037, allocations: 4 kB / 1.354 GB, free: 6.859 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.708e-05/1.037, allocations: 57.53 kB / 1.354 GB, free: 6.797 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.037, allocations: 5.875 kB / 1.354 GB, free: 6.793 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.037, allocations: 0 / 1.354 GB, free: 6.793 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/1.037, allocations: 4 kB / 1.354 GB, free: 6.789 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/1.037, allocations: 7.984 kB / 1.354 GB, free: 6.781 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.037, allocations: 7.875 kB / 1.354 GB, free: 6.773 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.164e-05/1.037, allocations: 4 kB / 1.354 GB, free: 6.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/1.037, allocations: 0 / 1.354 GB, free: 6.77 MB / 1.076 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.427e-05/1.037, allocations: 117.9 kB / 1.354 GB, free: 6.645 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/1.037, allocations: 4 kB / 1.354 GB, free: 6.641 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.76e-05/1.037, allocations: 3.125 kB / 1.354 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/1.037, allocations: 0 / 1.354 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.037, allocations: 7.938 kB / 1.354 GB, free: 6.629 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/1.037, allocations: 3.938 kB / 1.354 GB, free: 6.625 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/1.038, allocations: 343 kB / 1.355 GB, free: 6.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.038, allocations: 8.031 kB / 1.355 GB, free: 6.223 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/1.038, allocations: 0 / 1.355 GB, free: 6.223 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/1.038, allocations: 3.938 kB / 1.355 GB, free: 6.219 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/1.038, allocations: 3.938 kB / 1.355 GB, free: 6.215 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/1.038, allocations: 4 kB / 1.355 GB, free: 6.211 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/1.038, allocations: 0 / 1.355 GB, free: 6.211 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.774e-05/1.038, allocations: 61.03 kB / 1.355 GB, free: 6.133 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/1.038, allocations: 85.14 kB / 1.355 GB, free: 6.031 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/1.038, allocations: 4.031 kB / 1.355 GB, free: 6.027 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/1.038, allocations: 3.984 kB / 1.355 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/1.038, allocations: 0 / 1.355 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/1.038, allocations: 7.984 kB / 1.355 GB, free: 6.016 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.315e-05/1.038, allocations: 83.28 kB / 1.355 GB, free: 5.934 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.2e-07/1.038, allocations: 0 / 1.355 GB, free: 5.934 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002137/1.038, allocations: 4 kB / 1.355 GB, free: 5.93 MB / 1.076 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 9.69e-05/1.038, allocations: 99.25 kB / 1.355 GB, free: 5.824 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.823e-05/1.038, allocations: 19.92 kB / 1.355 GB, free: 5.805 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.038, allocations: 4 kB / 1.355 GB, free: 5.801 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.785e-06/1.038, allocations: 4 kB / 1.355 GB, free: 5.797 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/1.039, allocations: 0 / 1.355 GB, free: 5.797 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/1.039, allocations: 118.6 kB / 1.355 GB, free: 5.652 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.039, allocations: 0.677 MB / 1.356 GB, free: 4.949 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.765e-05/1.039, allocations: 8 kB / 1.356 GB, free: 4.941 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/1.039, allocations: 7.438 kB / 1.356 GB, free: 4.938 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.039, allocations: 0 / 1.356 GB, free: 4.938 MB / 1.076 GB Notification: Performance of Templates: time 0.002757/1.042, allocations: 0.5173 MB / 1.356 GB, free: 4.457 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (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 & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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