Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001899/0.001899, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002514/0.002514, allocations: 218.7 kB / 22.25 MB, free: 5.125 MB / 14.72 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.978/2.978, allocations: 476.7 MB / 0.7706 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 65.19 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4207, allocations: 170 MB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00656/0.4273, allocations: 3.835 MB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002461/0.4275, allocations: 159.5 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.4276, allocations: 0 / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.4277, allocations: 3.938 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.095e-05/0.4278, allocations: 11.91 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.4282, allocations: 89.88 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.4283, allocations: 35.8 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.989e-05/0.4284, allocations: 3.984 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.871e-05/0.4284, allocations: 15.98 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.197e-05/0.4285, allocations: 7.984 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.4285, allocations: 7.938 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000705/0.4292, allocations: 239.2 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/0.4293, allocations: 11.92 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.4293, allocations: 15.98 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.4295, allocations: 63.8 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.4295, allocations: 0 / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4295, allocations: 0 / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.4295, allocations: 0 / 1.288 GB, free: 6.77 MB / 0.9825 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.0004686/0.43, allocations: 266.3 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.43, allocations: 8.031 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.4301, allocations: 0.9375 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.4302, allocations: 110.5 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.763e-05/0.4303, allocations: 55.97 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.4303, allocations: 384 / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.4305, allocations: 49.56 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4305, allocations: 3.984 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.4305, allocations: 7.922 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.4305, allocations: 4 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.662e-05/0.4306, allocations: 12 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.431, allocations: 232 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.092e-05/0.4311, allocations: 18.52 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.4311, allocations: 4.859 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.737e-05/0.4312, allocations: 16.05 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.4312, allocations: 30.56 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4312, allocations: 0 / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001644/0.4314, allocations: 37.75 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.4314, allocations: 55.41 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.4315, allocations: 101.8 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.4315, allocations: 25.7 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.4316, allocations: 88.09 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-06/0.4316, allocations: 7.875 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.4316, allocations: 21.7 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.4318, allocations: 314.8 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.4318, allocations: 8.031 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/0.4318, allocations: 21.7 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.531e-05/0.4319, allocations: 13.72 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4319, allocations: 0 / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.346e-05/0.432, allocations: 53.62 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.432, allocations: 4 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.432, allocations: 4.062 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.432, allocations: 0 / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.563e-05/0.432, allocations: 4 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.432, allocations: 4 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.4321, allocations: 3.953 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.4321, allocations: 0 / 1.29 GB, free: 5.008 MB / 0.9825 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 8.916e-05/0.4322, allocations: 121.7 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.4322, allocations: 3.984 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.4323, allocations: 125 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-05/0.4324, allocations: 180.3 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-05/0.4325, allocations: 184.2 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.254e-05/0.4326, allocations: 180.2 kB / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.4329, allocations: 384.2 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.932e-05/0.4329, allocations: 105 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.433, allocations: 105 kB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.026e-05/0.433, allocations: 184.2 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.4331, allocations: 180.3 kB / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.438e-05/0.4332, allocations: 180.2 kB / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.789e-05/0.4333, allocations: 180.2 kB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.4335, allocations: 315.6 kB / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.4335, allocations: 105 kB / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.987e-05/0.4336, allocations: 188.2 kB / 1.292 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.4338, allocations: 105 kB / 1.292 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/0.4339, allocations: 180.3 kB / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.4339, allocations: 104.9 kB / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.8e-05/0.434, allocations: 87.27 kB / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.434, allocations: 4 kB / 1.293 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002637/0.4343, allocations: 19.88 kB / 1.293 GB, free: 1.66 MB / 0.9825 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.0002016/0.4345, allocations: 190.5 kB / 1.293 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.434e-05/0.4346, allocations: 12.05 kB / 1.293 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4346, allocations: 3.938 kB / 1.293 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.4346, allocations: 0 / 1.293 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.4351, allocations: 461.9 kB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.4354, allocations: 186.1 kB / 1.294 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.4357, allocations: 0.6768 MB / 1.294 GB, free: 84 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.103e-05/0.4358, allocations: 10.52 kB / 1.294 GB, free: 76 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.4358, allocations: 7.438 kB / 1.294 GB, free: 68 kB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4358, allocations: 0 / 1.294 GB, free: 68 kB / 0.9825 GB Notification: Performance of Templates: time 0.00352/0.4393, allocations: 0.6534 MB / 1.295 GB, free: 15.42 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: 9.516861766111106]