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.001393/0.001393, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002746/0.002746, allocations: 222.3 kB / 23 MB, free: 4.91 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.74/2.74, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] 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.002078/0.002078, allocations: 69.78 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3086, allocations: 170 MB / 1.284 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006309/0.3149, allocations: 3.62 MB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002231/0.3151, allocations: 143.5 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.3151, allocations: 0 / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.3152, allocations: 7.922 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.3153, allocations: 15.92 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.3157, allocations: 85.86 kB / 1.288 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.836e-05/0.3158, allocations: 35.86 kB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.3158, allocations: 0 / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.602e-05/0.3159, allocations: 19.91 kB / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.855e-05/0.3159, allocations: 8 kB / 1.288 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3159, allocations: 4 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006365/0.3166, allocations: 215.3 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.3166, allocations: 7.969 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.3166, allocations: 7.938 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.3168, allocations: 59.86 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3168, allocations: 0 / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3168, allocations: 0 / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3168, allocations: 4 kB / 1.288 GB, free: 7.785 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.0004028/0.3172, allocations: 258.3 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3173, allocations: 8.031 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.3173, allocations: 8.938 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3174, allocations: 110.5 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.522e-05/0.3175, allocations: 51.97 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.3175, allocations: 8.312 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3177, allocations: 71.31 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.3177, allocations: 0 / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3177, allocations: 0 / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.3177, allocations: 4 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.719e-05/0.3177, allocations: 19.92 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.3181, allocations: 212.5 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.493e-05/0.3182, allocations: 18.64 kB / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.3182, allocations: 8.859 kB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/0.3183, allocations: 4 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3183, allocations: 38.56 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3183, allocations: 0 / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001522/0.3184, allocations: 37.62 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.3185, allocations: 51.41 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3186, allocations: 113.8 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.3186, allocations: 25.7 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.3187, allocations: 88.22 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.3187, allocations: 4 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.3187, allocations: 17.72 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3188, allocations: 318.8 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.3189, allocations: 4 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.3189, allocations: 17.73 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.052e-05/0.3189, allocations: 17.66 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3189, allocations: 0 / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.45e-05/0.319, allocations: 57.62 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.319, allocations: 4 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.319, allocations: 0 / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3191, allocations: 0 / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.708e-05/0.3191, allocations: 11.98 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3191, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.3191, allocations: 3.953 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3191, allocations: 4 kB / 1.289 GB, free: 6.02 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.767e-05/0.3192, allocations: 117.7 kB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.3192, allocations: 4 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.3194, allocations: 125 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.681e-05/0.3195, allocations: 184.3 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.929e-05/0.3195, allocations: 184.2 kB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.436e-05/0.3196, allocations: 180.2 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.3198, allocations: 356.8 kB / 1.291 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-05/0.3199, allocations: 108.9 kB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.3199, allocations: 105 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.004e-05/0.32, allocations: 180.3 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/0.3201, allocations: 188.2 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.486e-05/0.3202, allocations: 176.3 kB / 1.291 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.039e-05/0.3203, allocations: 184.2 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.3204, allocations: 311.7 kB / 1.292 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.3205, allocations: 105 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.249e-05/0.3206, allocations: 180.3 kB / 1.292 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.3207, allocations: 112.9 kB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.414e-05/0.3208, allocations: 184.2 kB / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.3209, allocations: 104.9 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.911e-05/0.3209, allocations: 83.28 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3209, allocations: 0 / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002549/0.3212, allocations: 15.94 kB / 1.292 GB, free: 2.715 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.0001958/0.3214, allocations: 198.5 kB / 1.293 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.146e-05/0.3215, allocations: 4 kB / 1.293 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3215, allocations: 0 / 1.293 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.3215, allocations: 0 / 1.293 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.322, allocations: 473.9 kB / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.3222, allocations: 203.8 kB / 1.293 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.3223, allocations: 63.34 kB / 1.293 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.3223, allocations: 11.56 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3223, allocations: 0 / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of Templates: time 0.002268/0.3246, allocations: 0.7269 MB / 1.294 GB, free: 0.9961 MB / 0.9825 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/jenkins1/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: 10.97363957716152]