Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001672/0.001672, allocations: 78.48 kB / 19.18 MB, free: 2.527 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.002085/0.002085, allocations: 168.4 kB / 22.46 MB, free: 5.359 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.641/1.641, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.888/2.888, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.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_12_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_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.509e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002803/0.002838, allocations: 1.383 MB / 0.9828 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004271/0.007109, allocations: 2.77 MB / 0.9855 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.007154, allocations: 4 kB / 0.9855 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.466e-05/0.007238, allocations: 7.922 kB / 0.9855 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.00736, allocations: 39.75 kB / 0.9855 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006349/0.007995, allocations: 198.9 kB / 0.9857 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.008371, allocations: 251.4 kB / 0.9859 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.008415, allocations: 0 / 0.9859 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.008572, allocations: 119.8 kB / 0.9861 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.008747, allocations: 115.8 kB / 0.9862 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.008789, allocations: 12 kB / 0.9862 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.009207, allocations: 147.6 kB / 0.9863 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.009371, allocations: 91.84 kB / 0.9864 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.00949, allocations: 75.81 kB / 0.9865 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.009977, allocations: 307.1 kB / 0.9868 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.009982, allocations: 0 / 0.9868 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.52e-07/0.009983, allocations: 4 kB / 0.9868 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.009989, allocations: 0 / 0.9868 GB, free: 6.461 MB / 0.9356 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.0009188/0.01091, allocations: 465.2 kB / 0.9872 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.01095, allocations: 8.031 kB / 0.9872 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.01109, allocations: 20.8 kB / 0.9872 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.01138, allocations: 181.5 kB / 0.9874 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.01144, allocations: 24.36 kB / 0.9874 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.01147, allocations: 16.38 kB / 0.9875 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.0122, allocations: 279.5 kB / 0.9877 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.01221, allocations: 192 / 0.9877 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.01224, allocations: 16.12 kB / 0.9877 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.01226, allocations: 8 kB / 0.9877 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.01389, allocations: 0.7292 MB / 0.9885 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.01426, allocations: 221.1 kB / 0.9887 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.01616, allocations: 0.6441 MB / 0.9893 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005717/0.01673, allocations: 217.3 kB / 0.9895 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.01704, allocations: 80.83 kB / 0.9896 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.01707, allocations: 34.56 kB / 0.9896 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.653e-06/0.01707, allocations: 0 / 0.9896 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001822/0.01889, allocations: 0.6603 MB / 0.9903 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.01895, allocations: 59.34 kB / 0.9903 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.01908, allocations: 128 kB / 0.9904 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.01912, allocations: 33.7 kB / 0.9905 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.01918, allocations: 88.78 kB / 0.9906 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.01933, allocations: 126.9 kB / 0.9907 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.01945, allocations: 65.69 kB / 0.9907 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002469/0.0197, allocations: 330.8 kB / 0.9911 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/0.02025, allocations: 195.6 kB / 0.9912 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.0208, allocations: 201 kB / 0.9914 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.02187, allocations: 360.7 kB / 0.9918 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.02187, allocations: 11.88 kB / 0.9918 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001197/0.02307, allocations: 465 kB / 0.9922 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.02308, allocations: 4 kB / 0.9922 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.02309, allocations: 4 kB / 0.9922 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.02311, allocations: 4 kB / 0.9922 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.02352, allocations: 99.78 kB / 0.9923 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.02353, allocations: 0 / 0.9923 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.02374, allocations: 55.75 kB / 0.9924 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.02377, allocations: 11.98 kB / 0.9924 GB, free: 0.5195 MB / 0.9356 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.000161/0.02393, allocations: 149.8 kB / 0.9925 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.02398, allocations: 15.91 kB / 0.9926 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.02537, allocations: 0.5101 MB / 0.9931 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.02538, allocations: 4 kB / 0.9931 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.02538, allocations: 7.938 kB / 0.9931 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.02539, allocations: 0 / 0.9931 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.02571, allocations: 229.1 kB / 0.9933 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.02571, allocations: 3.984 kB / 0.9933 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.02608, allocations: 91.86 kB / 0.9934 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.02608, allocations: 8 kB / 0.9934 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.02611, allocations: 11.98 kB / 0.9934 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.02611, allocations: 0 / 0.9934 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.02612, allocations: 3.938 kB / 0.9934 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.02734, allocations: 0.4924 MB / 0.9939 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.02738, allocations: 15.84 kB / 0.9939 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.02742, allocations: 12 kB / 0.9939 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.02761, allocations: 35.95 kB / 0.9939 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.02786, allocations: 119.7 kB / 0.9941 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.02789, allocations: 15.98 kB / 0.9941 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.025e-05/0.02797, allocations: 103.1 kB / 0.9942 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02797, allocations: 0 / 0.9942 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004036/0.02838, allocations: 119.7 kB / 0.9943 GB, free: 14.52 MB / 0.9512 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.0004299/0.02881, allocations: 194.9 kB / 0.9945 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.03, allocations: 463.4 kB / 0.9949 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.03001, allocations: 0 / 0.9949 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006013/0.03061, allocations: 247.7 kB / 0.9951 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.03104, allocations: 79.86 kB / 0.9952 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008196/0.03186, allocations: 418.2 kB / 0.9956 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.03199, allocations: 122.6 kB / 0.9957 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004086/0.0324, allocations: 181.2 kB / 0.9959 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.03251, allocations: 44.47 kB / 0.996 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of SimCode: time 3.3e-07/0.03251, allocations: 0 / 0.996 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of Templates: time 0.01131/0.04382, allocations: 5.495 MB / 1.001 GB, free: 7.383 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.817172449082136]