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 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.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.001725/0.001725, allocations: 107.7 kB / 16.27 MB, free: 6.414 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.001629/0.001629, allocations: 190.9 kB / 17.2 MB, free: 5.953 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.705/2.705, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001924, allocations: 69.19 kB / 0.9245 GB, free: 12 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.7269, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1805/0.9074, allocations: 147.8 MB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001398/0.9075, allocations: 63.84 kB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.9076, allocations: 0 / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.702e-05/0.9077, allocations: 7.938 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.703e-05/0.9078, allocations: 15.91 kB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.9082, allocations: 107.6 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.338e-05/0.9083, allocations: 31.84 kB / 1.227 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.9084, allocations: 4 kB / 1.227 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.9084, allocations: 15.98 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.9085, allocations: 11.92 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.9085, allocations: 8 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.9088, allocations: 83.72 kB / 1.228 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.9088, allocations: 7.984 kB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.9088, allocations: 7.938 kB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.909, allocations: 73.86 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.909, allocations: 4 kB / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.82e-07/0.909, allocations: 0 / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.909, allocations: 0 / 1.228 GB, free: 10.19 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.0003909/0.9094, allocations: 331.5 kB / 1.228 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.9095, allocations: 12.03 kB / 1.228 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.9097, allocations: 24.81 kB / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.9098, allocations: 168.3 kB / 1.228 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.9099, allocations: 29.64 kB / 1.228 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.9099, allocations: 0 / 1.228 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.91, allocations: 49.62 kB / 1.228 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.91, allocations: 3.984 kB / 1.228 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.9101, allocations: 4 kB / 1.228 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.9101, allocations: 4 kB / 1.228 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.995e-05/0.9101, allocations: 15.98 kB / 1.228 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.9105, allocations: 256.9 kB / 1.229 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.593e-05/0.9106, allocations: 22.56 kB / 1.229 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.9106, allocations: 16.8 kB / 1.229 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-06/0.9106, allocations: 0 / 1.229 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.9107, allocations: 30.56 kB / 1.229 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.9107, allocations: 0 / 1.229 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.9108, allocations: 37.7 kB / 1.229 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.9108, allocations: 55.34 kB / 1.229 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.9109, allocations: 109.8 kB / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.911, allocations: 25.83 kB / 1.229 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.911, allocations: 95.98 kB / 1.229 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-06/0.911, allocations: 4 kB / 1.229 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.9111, allocations: 17.7 kB / 1.229 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9112, allocations: 314.8 kB / 1.229 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.9112, allocations: 4 kB / 1.229 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.034e-05/0.9113, allocations: 22.81 kB / 1.229 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.9113, allocations: 34.52 kB / 1.229 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.9113, allocations: 4 kB / 1.229 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.852e-05/0.9114, allocations: 57.53 kB / 1.229 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.9114, allocations: 4 kB / 1.229 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.9114, allocations: 4 kB / 1.229 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.9115, allocations: 0 / 1.229 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.349e-05/0.9115, allocations: 12.09 kB / 1.229 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.9115, allocations: 7.938 kB / 1.229 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.773e-05/0.9116, allocations: 0 / 1.229 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-06/0.9116, allocations: 0 / 1.229 GB, free: 8.203 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.951e-05/0.9117, allocations: 113.8 kB / 1.23 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.9117, allocations: 0 / 1.23 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.9117, allocations: 7.125 kB / 1.23 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.9117, allocations: 3.938 kB / 1.23 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9117, allocations: 3.938 kB / 1.23 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.9118, allocations: 8.031 kB / 1.23 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.912, allocations: 346.8 kB / 1.23 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.9121, allocations: 3.984 kB / 1.23 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.459e-05/0.9121, allocations: 3.984 kB / 1.23 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.9121, allocations: 7.938 kB / 1.23 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.9121, allocations: 0 / 1.23 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9121, allocations: 0 / 1.23 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.9121, allocations: 0 / 1.23 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.254e-05/0.9122, allocations: 69.02 kB / 1.23 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.9122, allocations: 81.05 kB / 1.23 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.9123, allocations: 3.984 kB / 1.23 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-05/0.9124, allocations: 4 kB / 1.23 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-06/0.9124, allocations: 0 / 1.23 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.9124, allocations: 3.938 kB / 1.23 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.9124, allocations: 83.27 kB / 1.23 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9124, allocations: 4.031 kB / 1.23 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001909/0.9126, allocations: 12 kB / 1.23 GB, free: 7.355 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 9.084e-05/0.9127, allocations: 95.78 kB / 1.23 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.736e-05/0.9128, allocations: 11.94 kB / 1.23 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.9128, allocations: 4 kB / 1.23 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.478e-06/0.9128, allocations: 0 / 1.23 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.913, allocations: 12.19 kB / 1.23 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.9133, allocations: 144.5 kB / 1.23 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.9136, allocations: 0.6729 MB / 1.231 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.9136, allocations: 11.44 kB / 1.231 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.9136, allocations: 0 / 1.231 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of Templates: time 0.001848/0.9155, allocations: 0.5729 MB / 1.232 GB, free: 5.77 MB / 0.9512 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=400 -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/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