Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.001636/0.001636, allocations: 84.72 kB / 19.44 MB, free: 352 kB / 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.001625/0.001625, allocations: 157.7 kB / 22.76 MB, free: 1.676 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 1.507/1.507, allocations: 177.1 MB / 203.1 MB, free: 5.184 MB / 186.7 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.212/3.212, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.Validation.PropyleneGlycolWater,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_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,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_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.391e-05, allocations: 7.188 kB / 0.8776 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002585/0.002619, allocations: 1.378 MB / 0.8789 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.004492, allocations: 0.9721 MB / 0.8799 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.004529, allocations: 0 / 0.8799 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.004631, allocations: 11.92 kB / 0.8799 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.004755, allocations: 37.81 kB / 0.8799 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.005219, allocations: 115.4 kB / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.005547, allocations: 248.7 kB / 0.8803 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.005588, allocations: 7.938 kB / 0.8803 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.005754, allocations: 119.8 kB / 0.8804 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.005928, allocations: 111.8 kB / 0.8805 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.005966, allocations: 13.25 kB / 0.8805 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.006329, allocations: 115.8 kB / 0.8806 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.006451, allocations: 95.77 kB / 0.8807 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.006563, allocations: 71.89 kB / 0.8808 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.006953, allocations: 255.2 kB / 0.881 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.006961, allocations: 4 kB / 0.881 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006962, allocations: 0 / 0.881 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.006967, allocations: 0 / 0.881 GB, free: 3.023 MB / 0.8386 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.001028/0.007994, allocations: 461.2 kB / 0.8815 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.008032, allocations: 8.031 kB / 0.8815 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.00821, allocations: 32.84 kB / 0.8815 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.008513, allocations: 181.5 kB / 0.8817 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.008567, allocations: 24.36 kB / 0.8817 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.008604, allocations: 20.31 kB / 0.8817 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.009352, allocations: 282 kB / 0.882 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.009362, allocations: 192 / 0.882 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.009389, allocations: 8.375 kB / 0.882 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.009399, allocations: 7.938 kB / 0.882 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.01112, allocations: 0.7254 MB / 0.8827 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.01152, allocations: 225.1 kB / 0.8829 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.01338, allocations: 0.6336 MB / 0.8835 GB, free: 348 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005552/0.01394, allocations: 225.5 kB / 0.8838 GB, free: 120 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003074/0.01424, allocations: 67.97 kB / 0.8838 GB, free: 52 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.01429, allocations: 38.56 kB / 0.8839 GB, free: 4 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.01429, allocations: 0 / 0.8839 GB, free: 4 kB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.001973/0.01626, allocations: 0.6634 MB / 0.8845 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.01631, allocations: 59.34 kB / 0.8846 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.01644, allocations: 121.8 kB / 0.8847 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.01648, allocations: 37.7 kB / 0.8847 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.01654, allocations: 84.8 kB / 0.8848 GB, free: 15 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.01668, allocations: 130.8 kB / 0.8849 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.0168, allocations: 69.67 kB / 0.885 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.01699, allocations: 326.8 kB / 0.8853 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/0.01755, allocations: 203.5 kB / 0.8855 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000551/0.0181, allocations: 199.9 kB / 0.8857 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.01913, allocations: 360.9 kB / 0.886 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01913, allocations: 3.938 kB / 0.886 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001287/0.02042, allocations: 480.7 kB / 0.8865 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.02044, allocations: 6.5 kB / 0.8865 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.02045, allocations: 0 / 0.8865 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.02048, allocations: 4 kB / 0.8865 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.0209, allocations: 95.84 kB / 0.8866 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.02091, allocations: 3.938 kB / 0.8866 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.02113, allocations: 51.84 kB / 0.8866 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.02117, allocations: 16 kB / 0.8867 GB, free: 13.07 MB / 0.8542 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 0.0001658/0.02134, allocations: 137.8 kB / 0.8868 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.02142, allocations: 31.91 kB / 0.8868 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.02285, allocations: 0.5181 MB / 0.8873 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.02286, allocations: 4 kB / 0.8873 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.02287, allocations: 3.938 kB / 0.8873 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.02287, allocations: 3.984 kB / 0.8873 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.02324, allocations: 237 kB / 0.8876 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02324, allocations: 0 / 0.8876 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.02363, allocations: 99.86 kB / 0.8877 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.02364, allocations: 0 / 0.8877 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.02367, allocations: 11.98 kB / 0.8877 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.02367, allocations: 0 / 0.8877 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.02367, allocations: 4 kB / 0.8877 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.02505, allocations: 0.5007 MB / 0.8882 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.02509, allocations: 23.8 kB / 0.8882 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.02512, allocations: 8 kB / 0.8882 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.02532, allocations: 39.95 kB / 0.8882 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/0.0256, allocations: 119.7 kB / 0.8883 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.02563, allocations: 19.92 kB / 0.8884 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.675e-05/0.02572, allocations: 99.2 kB / 0.8885 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02572, allocations: 0 / 0.8885 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004054/0.02612, allocations: 95.86 kB / 0.8886 GB, free: 11.06 MB / 0.8542 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.0003606/0.02648, allocations: 175 kB / 0.8887 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.02772, allocations: 455 kB / 0.8892 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.02772, allocations: 0 / 0.8892 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006127/0.02833, allocations: 244.6 kB / 0.8894 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.02879, allocations: 92.44 kB / 0.8895 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008551/0.02965, allocations: 414.1 kB / 0.8899 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.02978, allocations: 118.5 kB / 0.89 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004566/0.03023, allocations: 189.6 kB / 0.8902 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.03035, allocations: 40.48 kB / 0.8902 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of SimCode: time 8.11e-07/0.03035, allocations: 0 / 0.8902 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.0112/0.04155, allocations: 5.097 MB / 0.8952 GB, free: 4.344 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.502970685018227]