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.00131/0.00131, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001432/0.001432, allocations: 206.6 kB / 23 MB, free: 4.934 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.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 3.132/3.132, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 177] 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.002053/0.002053, allocations: 67.22 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3072, allocations: 176.1 MB / 1.327 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005974/0.3131, allocations: 3.619 MB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002083/0.3133, allocations: 147.5 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.3134, allocations: 4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.163e-05/0.3134, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.559e-05/0.3135, allocations: 15.91 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.3138, allocations: 91.69 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.12e-05/0.3139, allocations: 27.91 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.336e-05/0.3139, allocations: 4 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.481e-05/0.314, allocations: 19.92 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.314, allocations: 15.91 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.3141, allocations: 4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005597/0.3146, allocations: 211.4 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.3147, allocations: 8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.3147, allocations: 7.984 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.3148, allocations: 59.81 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3148, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3148, allocations: 3.938 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.3148, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 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.0003896/0.3152, allocations: 262.3 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3152, allocations: 8.031 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.3153, allocations: 4.938 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.3154, allocations: 114.4 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.3155, allocations: 63.94 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.3155, allocations: 384 / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3157, allocations: 71.33 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3157, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3157, allocations: 4 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.3157, allocations: 4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.736e-05/0.3157, allocations: 15.98 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.3161, allocations: 208.5 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.462e-05/0.3162, allocations: 22.58 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.3162, allocations: 8.797 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.3162, allocations: 8.047 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3163, allocations: 34.56 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3163, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.3164, allocations: 41.59 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.3165, allocations: 51.41 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.3165, allocations: 101.8 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.3166, allocations: 25.7 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.3166, allocations: 92.22 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.3166, allocations: 4 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.3167, allocations: 17.7 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002258/0.3169, allocations: 314.8 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.3169, allocations: 4 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.486e-05/0.3169, allocations: 13.72 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.851e-05/0.317, allocations: 29.58 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.317, allocations: 4 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.881e-05/0.3171, allocations: 41.7 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3171, allocations: 12.05 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.3171, allocations: 0 / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3171, allocations: 4 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.009e-05/0.3172, allocations: 4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3172, allocations: 3.938 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.3172, allocations: 3.953 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3172, allocations: 4 kB / 1.333 GB, free: 11.13 MB / 1.029 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 7.841e-05/0.3173, allocations: 110.3 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.3173, allocations: 4 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.3174, allocations: 128.9 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.227e-05/0.3175, allocations: 184.1 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.239e-05/0.3176, allocations: 101 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.3176, allocations: 109 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.124e-05/0.3177, allocations: 184.2 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.3179, allocations: 109 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.318, allocations: 188.1 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00011/0.3181, allocations: 255.5 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001972/0.3183, allocations: 379.3 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.45e-05/0.3183, allocations: 105 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.412e-05/0.3184, allocations: 95.2 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of Backend: time 2.61e-07/0.3184, allocations: 3.938 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003906/0.3188, allocations: 103.5 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006817/0.3195, allocations: 0.8681 MB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of Templates: time 0.002958/0.3224, allocations: 0.5936 MB / 1.336 GB, free: 7.512 MB / 1.029 GB " [Timeout remaining time 300] 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 -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: 8.311530245999165]