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.0008123/0.0008123, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008162/0.0008162, allocations: 203.8 kB / 23 MB, free: 3.109 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 0.8657/0.8657, allocations: 230.6 MB / 256.8 MB, free: 3.473 MB / 202.7 MB " [Timeout remaining time 179] 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.011/2.011, allocations: 0.5036 GB / 0.8094 GB, free: 19.2 MB / 0.6198 GB " [Timeout remaining time 178] 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 0.0009252/0.0009252, allocations: 67.94 kB / 1.176 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3111, allocations: 180 MB / 1.352 GB, free: 4.18 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.00193/0.313, allocations: 1.335 MB / 1.353 GB, free: 2.832 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3143, allocations: 1.22 MB / 1.355 GB, free: 1.605 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.3143, allocations: 0 / 1.355 GB, free: 1.605 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.3143, allocations: 3.938 kB / 1.355 GB, free: 1.602 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.131e-05/0.3144, allocations: 15.91 kB / 1.355 GB, free: 1.586 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.3148, allocations: 147.4 kB / 1.355 GB, free: 1.441 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 6.912e-05/0.3149, allocations: 47.73 kB / 1.355 GB, free: 1.395 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.3149, allocations: 11.92 kB / 1.355 GB, free: 1.383 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.315, allocations: 15.98 kB / 1.355 GB, free: 1.367 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.08e-05/0.315, allocations: 19.92 kB / 1.355 GB, free: 1.348 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.315, allocations: 3.938 kB / 1.355 GB, free: 1.344 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.3153, allocations: 139.8 kB / 1.355 GB, free: 1.207 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.3153, allocations: 11.92 kB / 1.355 GB, free: 1.195 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.3153, allocations: 19.92 kB / 1.355 GB, free: 1.176 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.3155, allocations: 131.6 kB / 1.355 GB, free: 1.047 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3155, allocations: 0 / 1.355 GB, free: 1.047 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3155, allocations: 0 / 1.355 GB, free: 1.047 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3155, allocations: 4 kB / 1.355 GB, free: 1.043 MB / 1.042 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.000313/0.3159, allocations: 282 kB / 1.355 GB, free: 0.7383 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.3159, allocations: 8.031 kB / 1.355 GB, free: 0.7305 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.3159, allocations: 12.89 kB / 1.355 GB, free: 0.7188 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.429e-05/0.316, allocations: 114.5 kB / 1.355 GB, free: 0.582 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.316, allocations: 4.375 kB / 1.355 GB, free: 0.5781 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.316, allocations: 4.375 kB / 1.355 GB, free: 0.5742 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.3161, allocations: 67.66 kB / 1.356 GB, free: 0.4961 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3162, allocations: 0 / 1.356 GB, free: 0.4961 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3162, allocations: 3.984 kB / 1.356 GB, free: 0.4922 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3162, allocations: 4 kB / 1.356 GB, free: 500 kB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.921e-05/0.3162, allocations: 43.95 kB / 1.356 GB, free: 456 kB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.3164, allocations: 153.7 kB / 1.356 GB, free: 256 kB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.085e-05/0.3165, allocations: 69.08 kB / 1.356 GB, free: 168 kB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.3165, allocations: 25.77 kB / 1.356 GB, free: 136 kB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004838/0.317, allocations: 251.8 kB / 1.356 GB, free: 15.89 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.317, allocations: 34.5 kB / 1.356 GB, free: 15.84 MB / 1.057 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.317, allocations: 0 / 1.356 GB, free: 15.84 MB / 1.057 GB Notification: Performance of matching and sorting (n=9): time 0.0001831/0.3172, allocations: 97.73 kB / 1.356 GB, free: 15.74 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.3172, allocations: 81.05 kB / 1.356 GB, free: 15.64 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.52e-05/0.3173, allocations: 97.86 kB / 1.356 GB, free: 15.54 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.3173, allocations: 29.83 kB / 1.356 GB, free: 15.5 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/0.3173, allocations: 80.14 kB / 1.356 GB, free: 15.42 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.3173, allocations: 35.67 kB / 1.356 GB, free: 15.39 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.3174, allocations: 33.66 kB / 1.357 GB, free: 15.35 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/0.3174, allocations: 314.8 kB / 1.357 GB, free: 15.03 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.3175, allocations: 12 kB / 1.357 GB, free: 15.02 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.3175, allocations: 29.7 kB / 1.357 GB, free: 14.98 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.675e-05/0.3175, allocations: 53.94 kB / 1.357 GB, free: 14.93 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3175, allocations: 0 / 1.357 GB, free: 14.93 MB / 1.057 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.054e-05/0.3176, allocations: 73.67 kB / 1.357 GB, free: 14.85 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3176, allocations: 7.938 kB / 1.357 GB, free: 14.84 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3176, allocations: 4 kB / 1.357 GB, free: 14.84 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3176, allocations: 0 / 1.357 GB, free: 14.84 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.3177, allocations: 19.92 kB / 1.357 GB, free: 14.82 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3177, allocations: 0 / 1.357 GB, free: 14.82 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.3177, allocations: 4 kB / 1.357 GB, free: 14.81 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.3177, allocations: 4.031 kB / 1.357 GB, free: 14.81 MB / 1.057 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 5.446e-05/0.3178, allocations: 113.8 kB / 1.357 GB, free: 14.69 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.3178, allocations: 11.89 kB / 1.357 GB, free: 14.68 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.3179, allocations: 97.78 kB / 1.357 GB, free: 14.57 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3179, allocations: 0 / 1.357 GB, free: 14.57 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3179, allocations: 0 / 1.357 GB, free: 14.57 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3179, allocations: 4 kB / 1.357 GB, free: 14.57 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.129e-05/0.318, allocations: 144.7 kB / 1.357 GB, free: 14.39 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-06/0.318, allocations: 4.031 kB / 1.357 GB, free: 14.38 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.907e-05/0.3181, allocations: 19.98 kB / 1.357 GB, free: 14.36 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3181, allocations: 3.938 kB / 1.357 GB, free: 14.36 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.3181, allocations: 0 / 1.357 GB, free: 14.36 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.3181, allocations: 0 / 1.357 GB, free: 14.36 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3181, allocations: 7.938 kB / 1.357 GB, free: 14.35 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.759e-05/0.3182, allocations: 102 kB / 1.357 GB, free: 14.23 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.3182, allocations: 19.81 kB / 1.358 GB, free: 14.21 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.3182, allocations: 11.94 kB / 1.358 GB, free: 14.2 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-06/0.3182, allocations: 4 kB / 1.358 GB, free: 14.2 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.3182, allocations: 3.984 kB / 1.358 GB, free: 14.19 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.3182, allocations: 4 kB / 1.358 GB, free: 14.19 MB / 1.057 GB Notification: Performance of sorting global known variables: time 2.667e-05/0.3182, allocations: 83.28 kB / 1.358 GB, free: 14.11 MB / 1.057 GB Notification: Performance of sort global known variables: time 5e-08/0.3182, allocations: 0 / 1.358 GB, free: 14.11 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0001776/0.3184, allocations: 59.73 kB / 1.358 GB, free: 14.05 MB / 1.057 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.0002107/0.3186, allocations: 171 kB / 1.358 GB, free: 13.87 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 9.906e-05/0.3187, allocations: 43.92 kB / 1.358 GB, free: 13.83 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3187, allocations: 0 / 1.358 GB, free: 13.83 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.3188, allocations: 27.92 kB / 1.358 GB, free: 13.8 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.3189, allocations: 16.05 kB / 1.358 GB, free: 13.79 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.3192, allocations: 218.8 kB / 1.358 GB, free: 13.54 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.3194, allocations: 0.6852 MB / 1.359 GB, free: 12.83 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.3194, allocations: 15.38 kB / 1.359 GB, free: 12.81 MB / 1.057 GB Notification: Performance of SimCode: time 5.01e-07/0.3194, allocations: 0 / 1.359 GB, free: 12.81 MB / 1.057 GB Notification: Performance of Templates: time 0.002402/0.3218, allocations: 1.562 MB / 1.36 GB, free: 11.25 MB / 1.057 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: 7.367539416998625]