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.001538/0.001538, allocations: 82 kB / 19.18 MB, free: 2.531 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.001447/0.001447, allocations: 163.6 kB / 22.45 MB, free: 5.363 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.495/1.495, allocations: 177.2 MB / 202.8 MB, free: 9.172 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 3.01/3.01, allocations: 388.8 MB / 0.6328 GB, free: 1.289 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.673e-06/1.673e-06, allocations: 0 / 0.9996 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.533e-05, allocations: 2.281 kB / 0.9996 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.002365/0.002401, allocations: 1.302 MB / 1.001 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.00426, allocations: 1.11 MB / 1.002 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.317e-05/0.004284, allocations: 0 / 1.002 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.004304, allocations: 0 / 1.002 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.2e-05/0.004386, allocations: 19.84 kB / 1.002 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005303/0.004916, allocations: 147.3 kB / 1.002 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.625e-05/0.005002, allocations: 55.77 kB / 1.002 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.00504, allocations: 4 kB / 1.002 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.235e-05/0.005102, allocations: 27.86 kB / 1.002 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.005142, allocations: 19.91 kB / 1.002 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.005155, allocations: 4 kB / 1.002 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.005511, allocations: 131.8 kB / 1.002 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.005528, allocations: 11.98 kB / 1.002 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.005552, allocations: 8 kB / 1.002 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.005807, allocations: 135.6 kB / 1.003 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.005811, allocations: 4 kB / 1.003 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005812, allocations: 4 kB / 1.003 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.005816, allocations: 0 / 1.003 GB, free: 3.914 MB / 0.9044 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.0003766/0.006193, allocations: 294 kB / 1.003 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.006225, allocations: 8.031 kB / 1.003 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.00626, allocations: 4.938 kB / 1.003 GB, free: 3.586 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.006373, allocations: 109.7 kB / 1.003 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.006388, allocations: 8.375 kB / 1.003 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.006398, allocations: 4.375 kB / 1.003 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.00653, allocations: 67.95 kB / 1.003 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.006539, allocations: 192 / 1.003 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.006547, allocations: 8.312 kB / 1.003 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.006555, allocations: 7.938 kB / 1.003 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.436e-05/0.006649, allocations: 47.89 kB / 1.003 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.006818, allocations: 122.1 kB / 1.003 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.006939, allocations: 65.11 kB / 1.003 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.006989, allocations: 25.78 kB / 1.003 GB, free: 3.035 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008321/0.007821, allocations: 255.8 kB / 1.004 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.007856, allocations: 38.55 kB / 1.004 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.007857, allocations: 0 / 1.004 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0002176/0.008075, allocations: 85.84 kB / 1.004 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.008137, allocations: 85.05 kB / 1.004 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.008217, allocations: 101.8 kB / 1.004 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.008234, allocations: 25.7 kB / 1.004 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.008277, allocations: 80.14 kB / 1.004 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.008318, allocations: 35.69 kB / 1.004 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.008361, allocations: 25.84 kB / 1.004 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.008497, allocations: 314.8 kB / 1.004 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.133e-05/0.008528, allocations: 19.92 kB / 1.004 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.765e-05/0.008576, allocations: 33.64 kB / 1.004 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.685e-05/0.008653, allocations: 42.02 kB / 1.004 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.008655, allocations: 0 / 1.004 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001306/0.008785, allocations: 77.61 kB / 1.004 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.008801, allocations: 10.95 kB / 1.004 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.008807, allocations: 4 kB / 1.004 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.00882, allocations: 0 / 1.004 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.008892, allocations: 16.03 kB / 1.004 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.008899, allocations: 3.938 kB / 1.004 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.008922, allocations: 4 kB / 1.004 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.008929, allocations: 0 / 1.004 GB, free: 1.719 MB / 0.9044 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.061e-05/0.00902, allocations: 117.8 kB / 1.005 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.009036, allocations: 11.89 kB / 1.005 GB, free: 1.582 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.009232, allocations: 93.86 kB / 1.005 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.009234, allocations: 192 / 1.005 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.009241, allocations: 7.938 kB / 1.005 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.00925, allocations: 7.969 kB / 1.005 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.009368, allocations: 121.2 kB / 1.005 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009369, allocations: 3.938 kB / 1.005 GB, free: 1.316 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.009426, allocations: 19.92 kB / 1.005 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.00943, allocations: 4 kB / 1.005 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.009436, allocations: 0 / 1.005 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.009438, allocations: 0 / 1.005 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.009439, allocations: 0 / 1.005 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.009597, allocations: 109.8 kB / 1.005 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.00963, allocations: 15.94 kB / 1.005 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.009645, allocations: 8 kB / 1.005 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.009665, allocations: 4 kB / 1.005 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.009689, allocations: 15.91 kB / 1.005 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.009696, allocations: 4 kB / 1.005 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.009737, allocations: 79.28 kB / 1.005 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.009737, allocations: 0 / 1.005 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002674/0.01, allocations: 55.8 kB / 1.005 GB, free: 0.9844 MB / 0.9044 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.0003104/0.01032, allocations: 179 kB / 1.005 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.01044, allocations: 39.92 kB / 1.005 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.01045, allocations: 4 kB / 1.005 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.754e-05/0.01049, allocations: 23.92 kB / 1.005 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.01075, allocations: 12 kB / 1.005 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.01117, allocations: 173.6 kB / 1.006 GB, free: 0.5195 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.36e-05/0.01124, allocations: 71.28 kB / 1.006 GB, free: 440 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.892e-05/0.01128, allocations: 4 kB / 1.006 GB, free: 436 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.0113, allocations: 16.5 kB / 1.006 GB, free: 420 kB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.01131, allocations: 0 / 1.006 GB, free: 420 kB / 0.9044 GB Notification: Performance of Templates: time 0.004673/0.01598, allocations: 1.581 MB / 1.007 GB, free: 14.86 MB / 0.92 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.412980049848557]