Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001419/0.001419, allocations: 81.55 kB / 19.76 MB, free: 2.027 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.001616/0.001616, allocations: 158.9 kB / 23.01 MB, free: 4.945 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.488/1.488, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.875/2.875, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_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.002377/0.002377, allocations: 67.89 kB / 0.9819 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277/1.28, allocations: 176.1 MB / 1.154 GB, free: 33.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006619/1.286, allocations: 3.621 MB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002337/1.286, allocations: 144.6 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/1.287, allocations: 0 / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/1.287, allocations: 7.938 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.006e-05/1.287, allocations: 14.08 kB / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/1.287, allocations: 83.83 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000107/1.287, allocations: 35.89 kB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/1.287, allocations: 7.031 kB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/1.287, allocations: 16.53 kB / 1.158 GB, free: 30.58 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.766e-05/1.287, allocations: 13.58 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/1.287, allocations: 0 / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008097/1.288, allocations: 205.8 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.268e-05/1.288, allocations: 18.14 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/1.288, allocations: 9.469 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/1.289, allocations: 54.5 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.289, allocations: 0 / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.452e-06/1.289, allocations: 6.594 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.33e-06/1.289, allocations: 0 / 1.158 GB, free: 30.48 MB / 1.076 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.0003899/1.289, allocations: 260.4 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.289, allocations: 11.78 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/1.289, allocations: 0.9375 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.075e-05/1.289, allocations: 105.5 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/1.289, allocations: 51.97 kB / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/1.289, allocations: 7.172 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/1.289, allocations: 82.56 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.289, allocations: 3.938 kB / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/1.289, allocations: 7.938 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/1.289, allocations: 2.875 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.535e-05/1.289, allocations: 15.89 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/1.29, allocations: 207.7 kB / 1.159 GB, free: 29.72 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/1.29, allocations: 14.58 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/1.29, allocations: 11.45 kB / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.523e-05/1.29, allocations: 9.781 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.29, allocations: 33.84 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/1.29, allocations: 0 / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001742/1.29, allocations: 43.62 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/1.29, allocations: 54.34 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/1.29, allocations: 99.02 kB / 1.159 GB, free: 29.44 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/1.29, allocations: 25.7 kB / 1.159 GB, free: 29.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/1.29, allocations: 91.03 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-06/1.29, allocations: 3.938 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/1.29, allocations: 16.08 kB / 1.159 GB, free: 29.3 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.955e-05/1.29, allocations: 321.6 kB / 1.159 GB, free: 28.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/1.29, allocations: 2.562 kB / 1.159 GB, free: 28.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/1.291, allocations: 19.92 kB / 1.159 GB, free: 28.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.217e-05/1.291, allocations: 23.78 kB / 1.159 GB, free: 28.94 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.291, allocations: 3 kB / 1.159 GB, free: 28.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.697e-05/1.291, allocations: 48.52 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.291, allocations: 5.156 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/1.291, allocations: 0 / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.291, allocations: 2.406 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/1.291, allocations: 6.109 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/1.291, allocations: 2.75 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/1.291, allocations: 4.016 kB / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/1.291, allocations: 6.594 kB / 1.16 GB, free: 28.89 MB / 1.076 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 5.842e-05/1.291, allocations: 113.4 kB / 1.16 GB, free: 28.77 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/1.291, allocations: 0 / 1.16 GB, free: 28.77 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/1.291, allocations: 127 kB / 1.16 GB, free: 28.64 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/1.291, allocations: 179 kB / 1.16 GB, free: 28.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.481e-05/1.291, allocations: 182.7 kB / 1.16 GB, free: 28.28 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.541e-05/1.291, allocations: 179.6 kB / 1.16 GB, free: 28.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/1.291, allocations: 358 kB / 1.161 GB, free: 27.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/1.291, allocations: 112.3 kB / 1.161 GB, free: 27.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/1.291, allocations: 105 kB / 1.161 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.679e-05/1.291, allocations: 182.8 kB / 1.161 GB, free: 27.31 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/1.291, allocations: 183.2 kB / 1.161 GB, free: 27.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.868e-05/1.291, allocations: 180.3 kB / 1.161 GB, free: 26.95 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.738e-05/1.291, allocations: 187.5 kB / 1.162 GB, free: 26.76 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.705e-05/1.292, allocations: 311.5 kB / 1.162 GB, free: 26.44 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/1.292, allocations: 101 kB / 1.162 GB, free: 26.33 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/1.292, allocations: 186.5 kB / 1.162 GB, free: 26.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/1.292, allocations: 107.8 kB / 1.162 GB, free: 26.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/1.292, allocations: 182.5 kB / 1.162 GB, free: 25.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/1.292, allocations: 108.9 kB / 1.162 GB, free: 25.75 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.444e-05/1.292, allocations: 88.72 kB / 1.163 GB, free: 25.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.292, allocations: 0 / 1.163 GB, free: 25.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000425/1.292, allocations: 18.66 kB / 1.163 GB, free: 25.66 MB / 1.076 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.000168/1.292, allocations: 192 kB / 1.163 GB, free: 25.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.468e-05/1.293, allocations: 9.75 kB / 1.163 GB, free: 25.49 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.293, allocations: 0 / 1.163 GB, free: 25.49 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/1.293, allocations: 3.938 kB / 1.163 GB, free: 25.49 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/1.293, allocations: 472.1 kB / 1.163 GB, free: 25.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/1.293, allocations: 184.3 kB / 1.163 GB, free: 24.85 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.895e-05/1.293, allocations: 57.23 kB / 1.163 GB, free: 24.78 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.095e-05/1.293, allocations: 10.17 kB / 1.163 GB, free: 24.78 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/1.293, allocations: 11.34 kB / 1.163 GB, free: 24.77 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/1.293, allocations: 0 / 1.163 GB, free: 24.77 MB / 1.076 GB Notification: Performance of Templates: time 0.004092/1.298, allocations: 0.6757 MB / 1.164 GB, free: 24.65 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.709096856997348]