Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001055/0.001055, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001751/0.002806, 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.001143/0.001143, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001569/0.002713, 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.007/1.007, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09992/1.107, allocations: 53.67 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.301/2.301, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2285/2.53, allocations: 146 MB / 0.8176 GB, free: 3.812 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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.381e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001696/0.00171, allocations: 1.469 MB / 0.8203 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.002753, allocations: 1.079 MB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.002791, allocations: 0 / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.002825, allocations: 7.938 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.475e-05/0.00291, allocations: 47.73 kB / 0.8214 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.003177, allocations: 103.5 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.003376, allocations: 267.4 kB / 0.8218 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.003412, allocations: 4 kB / 0.8218 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.003536, allocations: 115.8 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.00364, allocations: 115.8 kB / 0.822 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.003665, allocations: 8 kB / 0.822 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.003919, allocations: 127.8 kB / 0.8222 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.222e-05/0.003981, allocations: 75.84 kB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.004032, allocations: 51.94 kB / 0.8223 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.004244, allocations: 219.3 kB / 0.8225 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.004254, allocations: 0 / 0.8225 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004255, allocations: 0 / 0.8225 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.004268, allocations: 3.938 kB / 0.8225 GB, free: 14.8 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005701/0.004838, allocations: 475.6 kB / 0.8229 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.004868, allocations: 16.02 kB / 0.823 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.005006, allocations: 102 kB / 0.8231 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.005174, allocations: 173.5 kB / 0.8232 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.005212, allocations: 24.36 kB / 0.8232 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.005235, allocations: 16.38 kB / 0.8233 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.005455, allocations: 177.3 kB / 0.8234 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005463, allocations: 192 / 0.8234 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.005477, allocations: 12.31 kB / 0.8234 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.005484, allocations: 7.938 kB / 0.8235 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.006035, allocations: 284.7 kB / 0.8237 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.006206, allocations: 142.5 kB / 0.8239 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.006708, allocations: 410.9 kB / 0.8243 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.508e-05/0.006783, allocations: 69.78 kB / 0.8243 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.006945, allocations: 83.86 kB / 0.8244 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.006965, allocations: 38.31 kB / 0.8244 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 1.513e-06/0.006967, allocations: 0 / 0.8244 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.0002692/0.007236, allocations: 213.1 kB / 0.8246 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.007259, allocations: 59.34 kB / 0.8247 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.007315, allocations: 122.6 kB / 0.8248 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.007338, allocations: 33.7 kB / 0.8248 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.099e-05/0.007359, allocations: 88.78 kB / 0.8249 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.435e-05/0.007434, allocations: 126.8 kB / 0.825 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.007494, allocations: 65.64 kB / 0.8251 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/0.007564, allocations: 330.7 kB / 0.8254 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.007623, allocations: 42.81 kB / 0.8255 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.937e-05/0.007683, allocations: 48.97 kB / 0.8255 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.007803, allocations: 106.8 kB / 0.8256 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007805, allocations: 0 / 0.8256 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001641/0.007969, allocations: 153.3 kB / 0.8258 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.00798, allocations: 4 kB / 0.8258 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.007984, allocations: 3.984 kB / 0.8258 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.007996, allocations: 0 / 0.8258 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.008212, allocations: 115.8 kB / 0.8259 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.008214, allocations: 0 / 0.8259 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.997e-05/0.008304, allocations: 55.8 kB / 0.8259 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.00832, allocations: 11.97 kB / 0.8259 GB, free: 11.08 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.22e-05/0.008392, allocations: 128.6 kB / 0.8261 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.008417, allocations: 19.98 kB / 0.8261 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.008655, allocations: 223.2 kB / 0.8263 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.008658, allocations: 8 kB / 0.8263 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.00866, allocations: 3.938 kB / 0.8263 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.008664, allocations: 0 / 0.8263 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.008808, allocations: 157.7 kB / 0.8265 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008809, allocations: 0 / 0.8265 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.009, allocations: 115.8 kB / 0.8266 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.009013, allocations: 15.84 kB / 0.8266 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.009015, allocations: 8 kB / 0.8266 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.009031, allocations: 7.984 kB / 0.8266 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.009034, allocations: 4 kB / 0.8266 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009036, allocations: 0 / 0.8266 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.00923, allocations: 210.6 kB / 0.8268 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.009249, allocations: 4 kB / 0.8268 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.009347, allocations: 39.95 kB / 0.8268 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.009412, allocations: 47.67 kB / 0.8269 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.009425, allocations: 11.98 kB / 0.8269 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.672e-05/0.009442, allocations: 12.86 kB / 0.8269 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009442, allocations: 0 / 0.8269 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001921/0.009634, allocations: 99.86 kB / 0.827 GB, free: 9.922 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 (37): * Single equations (assignments): 37 * 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.0001857/0.00982, allocations: 148.1 kB / 0.8272 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.01002, allocations: 168.5 kB / 0.8273 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.01003, allocations: 4 kB / 0.8273 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.01015, allocations: 137.5 kB / 0.8274 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.01043, allocations: 347.5 kB / 0.8278 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.01269, allocations: 367.9 kB / 0.8281 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.311e-05/0.01273, allocations: 84.83 kB / 0.8282 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.01287, allocations: 73.5 kB / 0.8283 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.01305, allocations: 131.2 kB / 0.8284 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of SimCode: time 6.92e-07/0.01305, allocations: 0 / 0.8284 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of Templates: time 0.006831/0.01988, allocations: 6.183 MB / 0.8344 GB, free: 2.293 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.170632996596396]