Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00135/0.00135, allocations: 112.3 kB / 17.08 MB, free: 6.012 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.001292/0.001292, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.422/1.422, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.696/2.696, allocations: 437.1 MB / 0.7177 GB, free: 4.473 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.89 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3106, allocations: 151.6 MB / 1.176 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005779/0.3164, allocations: 3.727 MB / 1.179 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002292/0.3166, allocations: 159.5 kB / 1.18 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.3167, allocations: 0 / 1.18 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.3168, allocations: 3.938 kB / 1.18 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.565e-05/0.3169, allocations: 15.97 kB / 1.18 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.3173, allocations: 83.69 kB / 1.18 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.116e-05/0.3174, allocations: 31.86 kB / 1.18 GB, free: 1.812 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.3174, allocations: 7.984 kB / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.579e-05/0.3175, allocations: 15.98 kB / 1.18 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.136e-05/0.3176, allocations: 7.938 kB / 1.18 GB, free: 1.781 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.3176, allocations: 4 kB / 1.18 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005577/0.3182, allocations: 191.4 kB / 1.18 GB, free: 1.59 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.3182, allocations: 0 / 1.18 GB, free: 1.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.3182, allocations: 15.91 kB / 1.18 GB, free: 1.574 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.3184, allocations: 39.92 kB / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3184, allocations: 0 / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3184, allocations: 3.938 kB / 1.18 GB, free: 1.531 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3184, allocations: 0 / 1.18 GB, free: 1.531 MB / 0.92 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.0004404/0.3189, allocations: 339.4 kB / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3189, allocations: 8.031 kB / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.319, allocations: 0.9375 kB / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.3191, allocations: 176.3 kB / 1.181 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.36e-05/0.3192, allocations: 30.25 kB / 1.181 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.3192, allocations: 384 / 1.181 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.3194, allocations: 45.62 kB / 1.181 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3194, allocations: 4 kB / 1.181 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3194, allocations: 0 / 1.181 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.3194, allocations: 3.984 kB / 1.181 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.32e-05/0.3195, allocations: 12 kB / 1.181 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.3199, allocations: 345.9 kB / 1.181 GB, free: 432 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.097e-05/0.32, allocations: 26.5 kB / 1.181 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.32, allocations: 8.844 kB / 1.181 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.181e-05/0.3201, allocations: 81.17 kB / 1.181 GB, free: 284 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3202, allocations: 30.56 kB / 1.181 GB, free: 244 kB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3202, allocations: 4 kB / 1.181 GB, free: 240 kB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001479/0.3203, allocations: 41.64 kB / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.3204, allocations: 55.39 kB / 1.181 GB, free: 124 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.853e-05/0.3205, allocations: 97.86 kB / 1.181 GB, free: 16 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.3205, allocations: 25.7 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.3206, allocations: 92.08 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.539e-06/0.3206, allocations: 0 / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.3206, allocations: 17.67 kB / 1.181 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3208, allocations: 326.9 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.3208, allocations: 0 / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.3208, allocations: 17.7 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.256e-05/0.3209, allocations: 25.66 kB / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3209, allocations: 0 / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.833e-05/0.321, allocations: 45.69 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.321, allocations: 8.062 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.321, allocations: 4 kB / 1.182 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.321, allocations: 0 / 1.182 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.286e-05/0.3211, allocations: 4 kB / 1.182 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3211, allocations: 3.938 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.3211, allocations: 4 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.3211, allocations: 0 / 1.182 GB, free: 15.41 MB / 0.9356 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.422e-05/0.3212, allocations: 113.8 kB / 1.182 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.3212, allocations: 4 kB / 1.182 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.3214, allocations: 125 kB / 1.182 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.789e-05/0.3215, allocations: 188.1 kB / 1.182 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.168e-05/0.3216, allocations: 176.3 kB / 1.182 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.867e-05/0.3216, allocations: 176.3 kB / 1.183 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.3219, allocations: 417.1 kB / 1.183 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.366e-05/0.322, allocations: 101 kB / 1.183 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.322, allocations: 108.9 kB / 1.183 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.555e-05/0.3221, allocations: 176.3 kB / 1.183 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.453e-05/0.3222, allocations: 192.2 kB / 1.184 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.355e-05/0.3223, allocations: 180.2 kB / 1.184 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.741e-05/0.3224, allocations: 184.3 kB / 1.184 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.3226, allocations: 311.7 kB / 1.184 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.3227, allocations: 186 kB / 1.184 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.3228, allocations: 176.3 kB / 1.185 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.323, allocations: 105 kB / 1.185 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.3231, allocations: 192.2 kB / 1.185 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/0.3232, allocations: 105 kB / 1.185 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.393e-05/0.3233, allocations: 83.28 kB / 1.185 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3233, allocations: 0 / 1.185 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002574/0.3235, allocations: 15.94 kB / 1.185 GB, free: 11.95 MB / 0.9356 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.0003112/0.3238, allocations: 206.4 kB / 1.185 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.832e-05/0.324, allocations: 15.92 kB / 1.185 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.324, allocations: 0 / 1.185 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.324, allocations: 0 / 1.185 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.3244, allocations: 457.9 kB / 1.186 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.3247, allocations: 211.7 kB / 1.186 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3251, allocations: 0.6767 MB / 1.186 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.3251, allocations: 7.438 kB / 1.187 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3251, allocations: 0 / 1.187 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.00245/0.3276, allocations: 0.7598 MB / 1.187 GB, free: 9.57 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.289972262922674]