Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001092/0.001092, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00159/0.002681, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001085/0.001085, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.002454, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.092/1.092, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09037/1.182, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.361/2.361, allocations: 447.1 MB / 0.675 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2363/2.597, allocations: 146 MB / 0.8176 GB, free: 3.84 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.8189 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.333e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003547/0.00356, allocations: 3.979 MB / 0.8228 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001295/0.00369, allocations: 155.4 kB / 0.8229 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.734e-05/0.003707, allocations: 4 kB / 0.8229 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.098e-05/0.003758, allocations: 7.922 kB / 0.823 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.952e-05/0.003807, allocations: 15.86 kB / 0.823 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.004016, allocations: 79.67 kB / 0.823 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.871e-05/0.004095, allocations: 39.84 kB / 0.8231 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.004126, allocations: 0 / 0.8231 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.853e-05/0.004185, allocations: 23.92 kB / 0.8231 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.997e-05/0.004245, allocations: 19.97 kB / 0.8231 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.004256, allocations: 0 / 0.8231 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003502/0.004606, allocations: 171.4 kB / 0.8233 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.004639, allocations: 8 kB / 0.8233 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.004653, allocations: 4 kB / 0.8233 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.004765, allocations: 55.83 kB / 0.8234 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.004775, allocations: 3.938 kB / 0.8234 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004776, allocations: 0 / 0.8234 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.004788, allocations: 0 / 0.8234 GB, free: 13.95 MB / 0.8073 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.0003093/0.005097, allocations: 248.6 kB / 0.8236 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.005128, allocations: 8.031 kB / 0.8236 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.005159, allocations: 4.938 kB / 0.8236 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.652e-05/0.005236, allocations: 109.7 kB / 0.8237 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.005279, allocations: 51.97 kB / 0.8238 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.005291, allocations: 384 / 0.8238 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.984e-05/0.005391, allocations: 87.47 kB / 0.8238 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.005398, allocations: 192 / 0.8238 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.005405, allocations: 3.938 kB / 0.8238 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.005424, allocations: 0 / 0.8238 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.127e-05/0.005476, allocations: 7.938 kB / 0.8239 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.005709, allocations: 173.9 kB / 0.824 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 2.836e-05/0.005737, allocations: 18.58 kB / 0.824 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.308e-06/0.005746, allocations: 4.859 kB / 0.824 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.005775, allocations: 4.062 kB / 0.824 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.005798, allocations: 46.5 kB / 0.8241 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.005799, allocations: 0 / 0.8241 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 7.934e-05/0.005878, allocations: 37.62 kB / 0.8241 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.005897, allocations: 51.41 kB / 0.8242 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.00595, allocations: 106.8 kB / 0.8243 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.005963, allocations: 33.7 kB / 0.8243 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.005997, allocations: 84.09 kB / 0.8244 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-06/0.006001, allocations: 0 / 0.8244 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.006021, allocations: 13.72 kB / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.316e-05/0.006084, allocations: 314.8 kB / 0.8247 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-06/0.00609, allocations: 7.984 kB / 0.8247 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.006104, allocations: 17.72 kB / 0.8247 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.186e-05/0.006126, allocations: 24.48 kB / 0.8248 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006128, allocations: 4 kB / 0.8248 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.707e-05/0.006165, allocations: 49.56 kB / 0.8248 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.006176, allocations: 9.188 kB / 0.8248 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.006179, allocations: 4 kB / 0.8248 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.006191, allocations: 0 / 0.8248 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.133e-05/0.006222, allocations: 7.984 kB / 0.8248 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.006224, allocations: 0 / 0.8248 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.006237, allocations: 7.953 kB / 0.8248 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.006243, allocations: 0 / 0.8248 GB, free: 12.25 MB / 0.8073 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 4.466e-05/0.006288, allocations: 112.7 kB / 0.8249 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.0063, allocations: 8.281 kB / 0.8249 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.182e-05/0.006372, allocations: 124.9 kB / 0.8251 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/0.006406, allocations: 184.2 kB / 0.8252 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-05/0.006442, allocations: 180.3 kB / 0.8254 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001054/0.006548, allocations: 180.2 kB / 0.8256 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.006659, allocations: 321.4 kB / 0.8259 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/0.006679, allocations: 105 kB / 0.826 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.006699, allocations: 104.9 kB / 0.8261 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.006724, allocations: 109 kB / 0.8262 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.514e-05/0.006759, allocations: 180.4 kB / 0.8264 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.006796, allocations: 192.2 kB / 0.8266 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-05/0.00683, allocations: 180.2 kB / 0.8267 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.48e-05/0.006865, allocations: 176.3 kB / 0.8269 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.565e-05/0.00695, allocations: 311.8 kB / 0.8272 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.006992, allocations: 176.3 kB / 0.8274 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.007075, allocations: 112.9 kB / 0.8275 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.007113, allocations: 180.2 kB / 0.8276 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.007137, allocations: 109 kB / 0.8277 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.551e-05/0.007152, allocations: 12.86 kB / 0.8278 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007152, allocations: 0 / 0.8278 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001346/0.007287, allocations: 16 kB / 0.8278 GB, free: 9.066 MB / 0.8073 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.0001153/0.007402, allocations: 179.5 kB / 0.8279 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.826e-05/0.007451, allocations: 20.78 kB / 0.828 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.007454, allocations: 0 / 0.828 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/0.007458, allocations: 4 kB / 0.828 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.0077, allocations: 0.503 MB / 0.8285 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.008339, allocations: 206.8 kB / 0.8287 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.567e-05/0.008365, allocations: 51.36 kB / 0.8287 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.262e-05/0.008388, allocations: 4 kB / 0.8287 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.008444, allocations: 63.34 kB / 0.8288 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.008444, allocations: 0 / 0.8288 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of Templates: time 0.002142/0.01059, allocations: 0.7848 MB / 0.8295 GB, free: 7.207 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2963863695040345]