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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 63.91 kB / 1.107 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174/1.176, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005795/1.182, allocations: 3.776 MB / 1.276 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002234/1.182, allocations: 162 kB / 1.276 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/1.182, allocations: 4 kB / 1.276 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/1.182, allocations: 5.922 kB / 1.276 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.04e-05/1.182, allocations: 10.25 kB / 1.276 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/1.182, allocations: 87.5 kB / 1.276 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.64e-05/1.183, allocations: 30.91 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.471e-05/1.183, allocations: 5.656 kB / 1.276 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/1.183, allocations: 19.88 kB / 1.276 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/1.183, allocations: 16.11 kB / 1.276 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/1.183, allocations: 1.562 kB / 1.276 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006199/1.183, allocations: 198.5 kB / 1.276 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/1.183, allocations: 4.656 kB / 1.276 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/1.183, allocations: 18.3 kB / 1.276 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/1.184, allocations: 37.45 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.184, allocations: 0 / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/1.184, allocations: 1 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.892e-06/1.184, allocations: 0 / 1.276 GB, free: 4.957 MB / 0.9981 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.0003699/1.184, allocations: 339.5 kB / 1.277 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.184, allocations: 9.656 kB / 1.277 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/1.184, allocations: 2.438 kB / 1.277 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/1.184, allocations: 174.4 kB / 1.277 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-05/1.184, allocations: 28.8 kB / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/1.184, allocations: 1.125 kB / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/1.184, allocations: 47.41 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.184, allocations: 1 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/1.184, allocations: 7.984 kB / 1.277 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/1.184, allocations: 5.766 kB / 1.277 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.943e-05/1.184, allocations: 16.09 kB / 1.277 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/1.185, allocations: 329.7 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.97e-05/1.185, allocations: 20.02 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/1.185, allocations: 7.203 kB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.077e-05/1.185, allocations: 88.28 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/1.185, allocations: 36.91 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/1.185, allocations: 0 / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.000157/1.185, allocations: 33.23 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/1.185, allocations: 56.31 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/1.185, allocations: 102 kB / 1.277 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/1.185, allocations: 26.36 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/1.185, allocations: 90.36 kB / 1.278 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-06/1.185, allocations: 8.828 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/1.185, allocations: 18.03 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.795e-05/1.185, allocations: 317.5 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/1.185, allocations: 5.094 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/1.185, allocations: 16.91 kB / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.306e-05/1.185, allocations: 22.11 kB / 1.278 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.185, allocations: 1.25 kB / 1.278 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.026e-05/1.186, allocations: 49.69 kB / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/1.186, allocations: 5.625 kB / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/1.186, allocations: 0 / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/1.186, allocations: 1.062 kB / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.906e-05/1.186, allocations: 6.062 kB / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.186, allocations: 4.922 kB / 1.278 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/1.186, allocations: 5.656 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/1.186, allocations: 5.625 kB / 1.278 GB, free: 3.012 MB / 0.9981 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.19e-05/1.186, allocations: 122.5 kB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/1.186, allocations: 1.062 kB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.171e-05/1.186, allocations: 121.2 kB / 1.278 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/1.186, allocations: 185.4 kB / 1.278 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.8e-05/1.186, allocations: 183.1 kB / 1.279 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/1.186, allocations: 181.5 kB / 1.279 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/1.186, allocations: 407.7 kB / 1.279 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/1.186, allocations: 107.2 kB / 1.279 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/1.186, allocations: 107.3 kB / 1.279 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.218e-05/1.186, allocations: 177.6 kB / 1.28 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/1.186, allocations: 185.4 kB / 1.28 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-05/1.186, allocations: 184 kB / 1.28 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.216e-05/1.186, allocations: 177.6 kB / 1.28 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.199e-05/1.186, allocations: 311.8 kB / 1.28 GB, free: 496 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/1.186, allocations: 186.6 kB / 1.281 GB, free: 16.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.714e-05/1.186, allocations: 181.3 kB / 1.281 GB, free: 16.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/1.187, allocations: 107.7 kB / 1.281 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/1.187, allocations: 185.5 kB / 1.281 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/1.187, allocations: 101 kB / 1.281 GB, free: 15.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.79e-05/1.187, allocations: 81.88 kB / 1.281 GB, free: 15.62 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.187, allocations: 0.875 kB / 1.281 GB, free: 15.62 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000241/1.187, allocations: 19.31 kB / 1.281 GB, free: 15.62 MB / 1.014 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.00033/1.187, allocations: 207.2 kB / 1.281 GB, free: 15.45 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.562e-05/1.187, allocations: 9.609 kB / 1.281 GB, free: 15.44 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.187, allocations: 1.062 kB / 1.281 GB, free: 15.44 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/1.187, allocations: 0 / 1.281 GB, free: 15.44 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/1.188, allocations: 468.3 kB / 1.282 GB, free: 14.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/1.188, allocations: 176.3 kB / 1.282 GB, free: 14.81 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/1.189, allocations: 0.675 MB / 1.283 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.353e-05/1.189, allocations: 12.17 kB / 1.283 GB, free: 14.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/1.189, allocations: 8.469 kB / 1.283 GB, free: 14.11 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/1.189, allocations: 3.938 kB / 1.283 GB, free: 14.1 MB / 1.014 GB Notification: Performance of Templates: time 0.003376/1.192, allocations: 0.6461 MB / 1.283 GB, free: 14.01 MB / 1.014 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.701073041185737]