Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.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.001962/0.001962, allocations: 78.73 kB / 19.18 MB, free: 2.516 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.002403/0.002403, allocations: 161.5 kB / 22.46 MB, free: 5.375 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.5/1.5, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.954/2.954, allocations: 389 MB / 0.633 GB, free: 1.027 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 1 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.814e-05, allocations: 2.281 kB / 1 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.002727/0.002755, allocations: 1.311 MB / 1.001 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.004775, allocations: 1.118 MB / 1.002 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.004803, allocations: 0 / 1.002 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.004821, allocations: 7.938 kB / 1.002 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.463e-05/0.004906, allocations: 7.922 kB / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.00553, allocations: 163.2 kB / 1.003 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.155e-05/0.005612, allocations: 39.78 kB / 1.003 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.005654, allocations: 7.984 kB / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.005726, allocations: 27.92 kB / 1.003 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.235e-05/0.005758, allocations: 11.98 kB / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.005772, allocations: 0 / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.00618, allocations: 143.7 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.006193, allocations: 3.984 kB / 1.003 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.006221, allocations: 15.98 kB / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.006504, allocations: 139.5 kB / 1.003 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.006508, allocations: 4 kB / 1.003 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.262e-06/0.006509, allocations: 0 / 1.003 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.006513, allocations: 0 / 1.003 GB, free: 4.336 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003978/0.006911, allocations: 290 kB / 1.003 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.006945, allocations: 8.031 kB / 1.003 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.006985, allocations: 8.922 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.0071, allocations: 113.7 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.007112, allocations: 384 / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.007124, allocations: 4.375 kB / 1.003 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.007265, allocations: 67.89 kB / 1.003 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.007274, allocations: 4.188 kB / 1.003 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.00729, allocations: 8.375 kB / 1.004 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.007296, allocations: 3.938 kB / 1.004 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.432e-05/0.00739, allocations: 43.89 kB / 1.004 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.00756, allocations: 122.2 kB / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.007683, allocations: 65.14 kB / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.007734, allocations: 33.72 kB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008146/0.008549, allocations: 255.8 kB / 1.004 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.008585, allocations: 38.56 kB / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 3.236e-06/0.008588, allocations: 3.984 kB / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0002309/0.008819, allocations: 85.61 kB / 1.004 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.008883, allocations: 85.05 kB / 1.004 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/0.008962, allocations: 101.8 kB / 1.004 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.008981, allocations: 25.7 kB / 1.004 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.009022, allocations: 80.3 kB / 1.004 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.009066, allocations: 39.81 kB / 1.004 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.009111, allocations: 25.7 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.009253, allocations: 314.8 kB / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.058e-05/0.009284, allocations: 11.98 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.009333, allocations: 25.72 kB / 1.005 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.782e-05/0.009421, allocations: 49.64 kB / 1.005 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.009425, allocations: 4 kB / 1.005 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001333/0.009558, allocations: 69.62 kB / 1.005 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.009571, allocations: 4 kB / 1.005 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.009577, allocations: 8.031 kB / 1.005 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.009592, allocations: 0 / 1.005 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.009672, allocations: 19.98 kB / 1.005 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.00968, allocations: 3.938 kB / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.009707, allocations: 7.953 kB / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.009714, allocations: 0 / 1.005 GB, free: 2.137 MB / 0.9512 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 (9): * Single equations (assignments): 9 * 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 9.106e-05/0.009805, allocations: 114.4 kB / 1.005 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.009822, allocations: 4 kB / 1.005 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.01008, allocations: 101.8 kB / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01008, allocations: 0 / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.01009, allocations: 11.97 kB / 1.005 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01009, allocations: 0 / 1.005 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.01022, allocations: 117.2 kB / 1.005 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01022, allocations: 0 / 1.005 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.01028, allocations: 15.94 kB / 1.005 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.01028, allocations: 4 kB / 1.005 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.01029, allocations: 7.938 kB / 1.005 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.0103, allocations: 3.984 kB / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.0103, allocations: 0 / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.01047, allocations: 109.8 kB / 1.005 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.0105, allocations: 11.94 kB / 1.005 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.01052, allocations: 12 kB / 1.005 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.01054, allocations: 0 / 1.005 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.01056, allocations: 11.92 kB / 1.005 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.01056, allocations: 0 / 1.005 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.641e-05/0.01061, allocations: 83.27 kB / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.01061, allocations: 0 / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002845/0.01089, allocations: 51.81 kB / 1.006 GB, free: 1.422 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.0003484/0.01124, allocations: 186.9 kB / 1.006 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.01137, allocations: 44.38 kB / 1.006 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01137, allocations: 0 / 1.006 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.393e-05/0.01141, allocations: 23.92 kB / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.01169, allocations: 24.28 kB / 1.006 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.01206, allocations: 165.8 kB / 1.006 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.724e-05/0.01213, allocations: 67.34 kB / 1.006 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.453e-05/0.01217, allocations: 15.95 kB / 1.006 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.0122, allocations: 16.5 kB / 1.006 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of SimCode: time 3.7e-07/0.0122, allocations: 0 / 1.006 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of Templates: time 0.004711/0.01691, allocations: 1.571 MB / 1.008 GB, free: 15.29 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.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: 8.394964430481195]