Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002475/0.002475, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00283/0.00283, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.01/3.01, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/2.959e-05, allocations: 7.094 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005833/0.005862, allocations: 3.399 MB / 0.8141 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.000144/0.006006, allocations: 52.38 kB / 0.8142 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.006032, allocations: 0.8438 kB / 0.8142 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.006138, allocations: 11.92 kB / 0.8142 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.526e-05/0.006213, allocations: 8.453 kB / 0.8142 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/0.006812, allocations: 193.8 kB / 0.8144 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.793e-05/0.006899, allocations: 39.78 kB / 0.8144 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.227e-05/0.006932, allocations: 5.75 kB / 0.8144 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.006997, allocations: 23.91 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.248e-05/0.007069, allocations: 11.98 kB / 0.8145 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.007084, allocations: 0 / 0.8145 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003396/0.007424, allocations: 136.6 kB / 0.8146 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.007475, allocations: 11.98 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.007501, allocations: 7.984 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.007802, allocations: 130.9 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.007806, allocations: 0 / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.007807, allocations: 0 / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.007812, allocations: 0 / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005252/0.008337, allocations: 372.2 kB / 0.8151 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.008373, allocations: 8.031 kB / 0.8151 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.008425, allocations: 0.9375 kB / 0.8151 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.00856, allocations: 120.5 kB / 0.8152 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.008661, allocations: 55.97 kB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.008674, allocations: 5.406 kB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.008832, allocations: 67.94 kB / 0.8153 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.008847, allocations: 4.625 kB / 0.8153 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.008861, allocations: 4.5 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.008884, allocations: 0 / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.334e-05/0.008937, allocations: 16.55 kB / 0.8154 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009468/0.009884, allocations: 280.9 kB / 0.8156 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.446e-05/0.009948, allocations: 31.06 kB / 0.8157 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.009986, allocations: 23.55 kB / 0.8157 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.0101, allocations: 36.84 kB / 0.8157 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.01013, allocations: 37.39 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.01013, allocations: 2.219 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001912/0.01033, allocations: 33.7 kB / 0.8158 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.01038, allocations: 55.41 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.01052, allocations: 161.9 kB / 0.816 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.01054, allocations: 25.7 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.01064, allocations: 139.3 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-06/0.01065, allocations: 4.766 kB / 0.8162 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.0107, allocations: 27.36 kB / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000263/0.01096, allocations: 493.1 kB / 0.8166 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.01098, allocations: 7.938 kB / 0.8167 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.01101, allocations: 23.38 kB / 0.8167 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.233e-05/0.01105, allocations: 24.58 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01106, allocations: 0.9688 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.972e-05/0.01115, allocations: 53.58 kB / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.01116, allocations: 6.312 kB / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.01116, allocations: 0 / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.01118, allocations: 3.984 kB / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.527e-05/0.01122, allocations: 8 kB / 0.8168 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.01123, allocations: 0 / 0.8168 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.01124, allocations: 0 / 0.8168 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.01125, allocations: 5.031 kB / 0.8168 GB, free: 11.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 0.0001153/0.01137, allocations: 156.6 kB / 0.8169 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.0114, allocations: 9.016 kB / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.01157, allocations: 167.7 kB / 0.8171 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001425/0.01171, allocations: 269.1 kB / 0.8173 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001483/0.01186, allocations: 268 kB / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001382/0.01199, allocations: 268.1 kB / 0.8179 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.01233, allocations: 0.4891 MB / 0.8183 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.052e-05/0.01241, allocations: 148.9 kB / 0.8185 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.221e-05/0.01249, allocations: 152.9 kB / 0.8186 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/0.01264, allocations: 280.5 kB / 0.8189 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.01278, allocations: 269.7 kB / 0.8192 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001513/0.01293, allocations: 268 kB / 0.8194 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001414/0.01307, allocations: 264.1 kB / 0.8197 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.01336, allocations: 452 kB / 0.8201 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.01345, allocations: 156.8 kB / 0.8202 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.01361, allocations: 273.1 kB / 0.8205 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.01381, allocations: 144.9 kB / 0.8206 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.01396, allocations: 273.2 kB / 0.8209 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.868e-05/0.01405, allocations: 148.8 kB / 0.821 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.614e-05/0.01413, allocations: 127.2 kB / 0.8212 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01413, allocations: 0.6562 kB / 0.8212 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002962/0.01443, allocations: 39.86 kB / 0.8212 GB, free: 7.082 MB / 0.7761 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 (0): * Single equations (assignments): 0 * 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.0003629/0.01479, allocations: 285.3 kB / 0.8215 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.414e-05/0.01488, allocations: 15.69 kB / 0.8215 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01488, allocations: 0 / 0.8215 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.362e-06/0.01489, allocations: 7.938 kB / 0.8215 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.0155, allocations: 0.7165 MB / 0.8222 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.01585, allocations: 233.7 kB / 0.8224 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.932e-05/0.01592, allocations: 55.36 kB / 0.8225 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.683e-05/0.01596, allocations: 11.34 kB / 0.8225 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.01599, allocations: 12.5 kB / 0.8225 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01599, allocations: 0 / 0.8225 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of Templates: time 0.004996/0.02099, allocations: 1.291 MB / 0.8238 GB, free: 4.473 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.130579514079727]