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.001234/0.001234, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001382/0.001382, allocations: 196.4 kB / 16.26 MB, free: 6.629 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.813/2.813, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 66.11 kB / 0.8986 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3322, allocations: 157.4 MB / 1.052 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1556/0.4878, allocations: 145.7 MB / 1.195 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001337/0.488, allocations: 59.84 kB / 1.195 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.488, allocations: 4 kB / 1.195 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.4882, allocations: 3.938 kB / 1.195 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.582e-05/0.4883, allocations: 11.92 kB / 1.195 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.4888, allocations: 102.8 kB / 1.195 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.452e-05/0.4888, allocations: 35.84 kB / 1.195 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.4889, allocations: 7.938 kB / 1.195 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/0.4889, allocations: 11.98 kB / 1.195 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.203e-05/0.489, allocations: 19.92 kB / 1.195 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.489, allocations: 0 / 1.195 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.4893, allocations: 87.72 kB / 1.195 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.4893, allocations: 7.984 kB / 1.195 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.4894, allocations: 19.92 kB / 1.195 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.4895, allocations: 56.2 kB / 1.195 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.4895, allocations: 0 / 1.195 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4895, allocations: 0 / 1.195 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.4896, allocations: 4 kB / 1.195 GB, free: 6.016 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.0003686/0.4899, allocations: 347.4 kB / 1.195 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.49, allocations: 8.031 kB / 1.195 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.4902, allocations: 16.92 kB / 1.195 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.4904, allocations: 164.4 kB / 1.196 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.46e-05/0.4904, allocations: 33.64 kB / 1.196 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.4905, allocations: 4 kB / 1.196 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.4906, allocations: 53.59 kB / 1.196 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.4906, allocations: 4 kB / 1.196 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.4906, allocations: 0 / 1.196 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.4907, allocations: 4 kB / 1.196 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.365e-05/0.4907, allocations: 19.98 kB / 1.196 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.4911, allocations: 260.8 kB / 1.196 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.623e-05/0.4911, allocations: 22.58 kB / 1.196 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.4912, allocations: 12.86 kB / 1.196 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-06/0.4912, allocations: 0 / 1.196 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.4912, allocations: 30.56 kB / 1.196 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.4912, allocations: 0 / 1.196 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001386/0.4914, allocations: 33.7 kB / 1.196 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.4914, allocations: 55.34 kB / 1.196 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.4915, allocations: 106 kB / 1.196 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.4915, allocations: 29.7 kB / 1.196 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.4916, allocations: 95.94 kB / 1.196 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.4916, allocations: 4 kB / 1.196 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.4916, allocations: 13.72 kB / 1.196 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4917, allocations: 314.8 kB / 1.197 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.4918, allocations: 3.938 kB / 1.197 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-05/0.4918, allocations: 30.56 kB / 1.197 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/0.4919, allocations: 30.58 kB / 1.197 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4919, allocations: 256 / 1.197 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.019e-05/0.4919, allocations: 53.62 kB / 1.197 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.492, allocations: 5.406 kB / 1.197 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.492, allocations: 7.938 kB / 1.197 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.492, allocations: 12.03 kB / 1.197 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.4921, allocations: 4 kB / 1.197 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4921, allocations: 7.875 kB / 1.197 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.4921, allocations: 11.89 kB / 1.197 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.4921, allocations: 0 / 1.197 GB, free: 4.008 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 6.9e-05/0.4922, allocations: 113.8 kB / 1.197 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.4923, allocations: 0 / 1.197 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.4923, allocations: 7.125 kB / 1.197 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4923, allocations: 4 kB / 1.197 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4923, allocations: 7.938 kB / 1.197 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4923, allocations: 0 / 1.197 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.4926, allocations: 346.7 kB / 1.197 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4926, allocations: 0 / 1.197 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.4926, allocations: 0 / 1.197 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4926, allocations: 3.938 kB / 1.197 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4926, allocations: 4 kB / 1.197 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4926, allocations: 0 / 1.197 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4926, allocations: 0 / 1.197 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.024e-05/0.4927, allocations: 57.17 kB / 1.197 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.4927, allocations: 92.94 kB / 1.197 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.4928, allocations: 0 / 1.197 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.58e-05/0.4928, allocations: 0 / 1.197 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.4929, allocations: 4 kB / 1.197 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.4929, allocations: 0 / 1.197 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.336e-05/0.4929, allocations: 95.23 kB / 1.197 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4929, allocations: 0 / 1.197 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001964/0.4931, allocations: 8 kB / 1.197 GB, free: 3.176 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 8.18e-05/0.4932, allocations: 95.25 kB / 1.198 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.642e-05/0.4933, allocations: 8 kB / 1.198 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4933, allocations: 0 / 1.198 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.455e-05/0.4933, allocations: 11.92 kB / 1.198 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.4936, allocations: 14.55 kB / 1.198 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.4938, allocations: 106.6 kB / 1.198 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.4942, allocations: 0.6729 MB / 1.198 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.739e-05/0.4942, allocations: 12.06 kB / 1.198 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.4943, allocations: 11.44 kB / 1.198 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.4943, allocations: 0 / 1.198 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of Templates: time 0.00244/0.4967, allocations: 0.5071 MB / 1.199 GB, free: 1.719 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=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