Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008091/0.0008091, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007734/0.0007734, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.8471/0.8471, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.719/1.719, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.9822 GB, free: 1 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.116e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001655/0.001676, allocations: 1.391 MB / 0.9835 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00236/0.004036, allocations: 2.758 MB / 0.9862 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.00407, allocations: 0 / 0.9862 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 7.685e-05/0.004147, allocations: 7.922 kB / 0.9862 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.772e-05/0.004244, allocations: 35.81 kB / 0.9863 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.00468, allocations: 198.9 kB / 0.9865 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.00486, allocations: 243.5 kB / 0.9867 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.004902, allocations: 7.984 kB / 0.9867 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.005169, allocations: 115.8 kB / 0.9868 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.005269, allocations: 119.8 kB / 0.9869 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.005294, allocations: 8 kB / 0.9869 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.005563, allocations: 151.7 kB / 0.9871 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 7.587e-05/0.005639, allocations: 95.77 kB / 0.9872 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.005701, allocations: 67.89 kB / 0.9872 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.005987, allocations: 307.1 kB / 0.9875 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.00599, allocations: 0 / 0.9875 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.443e-06/0.005991, allocations: 0 / 0.9875 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.005995, allocations: 4 kB / 0.9875 GB, free: 11.49 MB / 0.9011 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.0005936/0.006589, allocations: 461.2 kB / 0.988 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.006627, allocations: 11.97 kB / 0.988 GB, free: 11 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.195e-05/0.006719, allocations: 24.84 kB / 0.988 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.006913, allocations: 185.4 kB / 0.9882 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.00695, allocations: 24.36 kB / 0.9882 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.006971, allocations: 20.38 kB / 0.9882 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.007355, allocations: 289.6 kB / 0.9885 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.007365, allocations: 192 / 0.9885 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.007383, allocations: 12.12 kB / 0.9885 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.007389, allocations: 4 kB / 0.9885 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008113/0.0082, allocations: 0.7271 MB / 0.9892 GB, free: 9.691 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.008435, allocations: 224.9 kB / 0.9894 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008975/0.009333, allocations: 0.6286 MB / 0.99 GB, free: 8.797 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.009611, allocations: 224.7 kB / 0.9903 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.009814, allocations: 87.88 kB / 0.9903 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.009837, allocations: 34.55 kB / 0.9904 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=37): time 1.413e-06/0.009839, allocations: 0 / 0.9904 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37): time 0.0009491/0.01079, allocations: 0.6574 MB / 0.991 GB, free: 7.781 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.01082, allocations: 63.34 kB / 0.9911 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.538e-05/0.0109, allocations: 129.6 kB / 0.9912 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.01091, allocations: 29.7 kB / 0.9912 GB, free: 7.539 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.01095, allocations: 88.8 kB / 0.9913 GB, free: 7.449 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/0.01102, allocations: 126.9 kB / 0.9914 GB, free: 7.324 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.01108, allocations: 69.67 kB / 0.9915 GB, free: 7.25 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.01117, allocations: 330.8 kB / 0.9918 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.01142, allocations: 191.8 kB / 0.992 GB, free: 6.73 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.01169, allocations: 199.8 kB / 0.9922 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.01218, allocations: 361.9 kB / 0.9925 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01218, allocations: 3.938 kB / 0.9925 GB, free: 6.176 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005945/0.01277, allocations: 460.7 kB / 0.993 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.01279, allocations: 12 kB / 0.993 GB, free: 5.707 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01279, allocations: 3.984 kB / 0.993 GB, free: 5.703 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01281, allocations: 3.984 kB / 0.993 GB, free: 5.699 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.013, allocations: 95.8 kB / 0.9931 GB, free: 5.605 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.01301, allocations: 4 kB / 0.9931 GB, free: 5.602 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.346e-05/0.0131, allocations: 51.8 kB / 0.9931 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.01312, allocations: 19.92 kB / 0.9932 GB, free: 5.531 MB / 0.9011 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 8.249e-05/0.0132, allocations: 141.8 kB / 0.9933 GB, free: 5.383 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.01322, allocations: 15.91 kB / 0.9933 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007937/0.01402, allocations: 0.5142 MB / 0.9938 GB, free: 4.844 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01402, allocations: 4 kB / 0.9938 GB, free: 4.84 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.01403, allocations: 3.938 kB / 0.9938 GB, free: 4.836 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01403, allocations: 3.984 kB / 0.9938 GB, free: 4.832 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.01421, allocations: 233 kB / 0.9941 GB, free: 4.574 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.01421, allocations: 4 kB / 0.9941 GB, free: 4.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.01437, allocations: 95.86 kB / 0.9941 GB, free: 4.477 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01438, allocations: 7.922 kB / 0.9942 GB, free: 4.469 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.01439, allocations: 8 kB / 0.9942 GB, free: 4.461 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.01439, allocations: 0 / 0.9942 GB, free: 4.461 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01439, allocations: 3.938 kB / 0.9942 GB, free: 4.457 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.01499, allocations: 0.4923 MB / 0.9946 GB, free: 3.945 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.01501, allocations: 19.84 kB / 0.9947 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.01503, allocations: 11.98 kB / 0.9947 GB, free: 3.914 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.01511, allocations: 31.97 kB / 0.9947 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.01525, allocations: 127.7 kB / 0.9948 GB, free: 3.758 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.01526, allocations: 15.98 kB / 0.9948 GB, free: 3.742 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.879e-05/0.0153, allocations: 99.27 kB / 0.9949 GB, free: 3.645 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0153, allocations: 0 / 0.9949 GB, free: 3.645 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002257/0.01553, allocations: 115.8 kB / 0.995 GB, free: 3.531 MB / 0.9011 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.0002284/0.01576, allocations: 194.9 kB / 0.9952 GB, free: 3.332 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006097/0.01637, allocations: 463.6 kB / 0.9957 GB, free: 2.879 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01637, allocations: 4 kB / 0.9957 GB, free: 2.875 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.01666, allocations: 239.7 kB / 0.9959 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.01691, allocations: 75.92 kB / 0.996 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/0.01742, allocations: 447.8 kB / 0.9964 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.358e-05/0.0175, allocations: 126.6 kB / 0.9965 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.8e-05/0.01758, allocations: 48.47 kB / 0.9966 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of SimCode: time 3.61e-07/0.01758, allocations: 0 / 0.9966 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of Templates: time 0.004581/0.02217, allocations: 4.886 MB / 1.001 GB, free: 13.08 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.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: 6.722213312983513]