Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.632/1.632, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 472.7 MB / 0.7452 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 65.28 kB / 0.912 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3231, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1724/0.4955, allocations: 148.3 MB / 1.213 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001676/0.4957, allocations: 63.78 kB / 1.213 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.4957, allocations: 0 / 1.213 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.4959, allocations: 4 kB / 1.213 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.522e-05/0.496, allocations: 11.92 kB / 1.213 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.4969, allocations: 210.7 kB / 1.213 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.4971, allocations: 35.86 kB / 1.213 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.4971, allocations: 4 kB / 1.213 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.4972, allocations: 23.91 kB / 1.213 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.292e-05/0.4973, allocations: 12 kB / 1.213 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.4973, allocations: 0 / 1.213 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.4978, allocations: 195.4 kB / 1.214 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.4978, allocations: 8 kB / 1.214 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.4979, allocations: 19.91 kB / 1.214 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.4982, allocations: 116 kB / 1.214 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4982, allocations: 0 / 1.214 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4982, allocations: 0 / 1.214 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.4982, allocations: 0 / 1.214 GB, free: 4.906 MB / 0.9669 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.0004369/0.4986, allocations: 339.6 kB / 1.214 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4987, allocations: 8.031 kB / 1.214 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.499, allocations: 28.81 kB / 1.214 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.4991, allocations: 168.3 kB / 1.214 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.285e-05/0.4992, allocations: 33.62 kB / 1.214 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.4992, allocations: 4 kB / 1.214 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.4994, allocations: 49.69 kB / 1.214 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.4994, allocations: 0 / 1.214 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4994, allocations: 0 / 1.214 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.4994, allocations: 4 kB / 1.214 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.597e-05/0.4995, allocations: 27.91 kB / 1.214 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.4998, allocations: 264.9 kB / 1.215 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.487e-05/0.4999, allocations: 18.58 kB / 1.215 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.4999, allocations: 12.92 kB / 1.215 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.5001, allocations: 93.09 kB / 1.215 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.5001, allocations: 34.55 kB / 1.215 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 3.306e-06/0.5001, allocations: 0 / 1.215 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002318/0.5004, allocations: 53.58 kB / 1.215 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.5004, allocations: 59.52 kB / 1.215 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.5005, allocations: 105.8 kB / 1.215 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.5005, allocations: 25.7 kB / 1.215 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.5006, allocations: 84.05 kB / 1.215 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.5006, allocations: 11.83 kB / 1.215 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.5007, allocations: 17.72 kB / 1.215 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5008, allocations: 314.8 kB / 1.215 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.5008, allocations: 0 / 1.215 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.5008, allocations: 34.56 kB / 1.215 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.383e-05/0.5009, allocations: 30.52 kB / 1.215 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5009, allocations: 0 / 1.215 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.679e-05/0.501, allocations: 57.59 kB / 1.215 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.501, allocations: 8.031 kB / 1.215 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.501, allocations: 0 / 1.215 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.501, allocations: 4 kB / 1.215 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.5011, allocations: 4 kB / 1.215 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.5011, allocations: 7.875 kB / 1.215 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.5011, allocations: 11.92 kB / 1.216 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.5011, allocations: 0 / 1.216 GB, free: 2.766 MB / 0.9669 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.344e-05/0.5012, allocations: 115.9 kB / 1.216 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.5012, allocations: 0 / 1.216 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.5013, allocations: 7.125 kB / 1.216 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5013, allocations: 4 kB / 1.216 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.5013, allocations: 3.938 kB / 1.216 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5013, allocations: 0 / 1.216 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.5016, allocations: 359.6 kB / 1.216 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5016, allocations: 0 / 1.216 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.5016, allocations: 4 kB / 1.216 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.5016, allocations: 8 kB / 1.216 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.5016, allocations: 4 kB / 1.216 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.5016, allocations: 0 / 1.216 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5017, allocations: 0 / 1.216 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.169e-05/0.5017, allocations: 73.83 kB / 1.216 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.5018, allocations: 85.05 kB / 1.216 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.5018, allocations: 0 / 1.216 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.5019, allocations: 19.95 kB / 1.216 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.5019, allocations: 0 / 1.216 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.5019, allocations: 4 kB / 1.216 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.502, allocations: 79.28 kB / 1.216 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.502, allocations: 0 / 1.216 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001942/0.5022, allocations: 8 kB / 1.216 GB, free: 1.895 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001264/0.5023, allocations: 107.7 kB / 1.216 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.5024, allocations: 15.94 kB / 1.216 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5024, allocations: 0 / 1.216 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.5024, allocations: 4 kB / 1.216 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.5027, allocations: 11.94 kB / 1.216 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.503, allocations: 123.8 kB / 1.216 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.5032, allocations: 0.6729 MB / 1.217 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.106e-05/0.5033, allocations: 15.97 kB / 1.217 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.5033, allocations: 7.438 kB / 1.217 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.5033, allocations: 0 / 1.217 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of Templates: time 0.002818/0.5061, allocations: 0.5704 MB / 1.218 GB, free: 316 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches