Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001846/0.001846, allocations: 92.7 kB / 19.44 MB, free: 320 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.001612/0.001612, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.524/1.524, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.256/3.256, allocations: 429.6 MB / 0.673 GB, free: 3.887 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.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_latest_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_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.8776 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.523e-05, allocations: 3.031 kB / 0.8776 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002913/0.002948, allocations: 1.385 MB / 0.8789 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.005067, allocations: 0.9727 MB / 0.8799 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.005107, allocations: 5.531 kB / 0.8799 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.005211, allocations: 7.922 kB / 0.8799 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.005351, allocations: 43.75 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.005884, allocations: 111.4 kB / 0.88 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.006231, allocations: 255.4 kB / 0.8803 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.006275, allocations: 0 / 0.8803 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.006446, allocations: 111.8 kB / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.006652, allocations: 119.8 kB / 0.8805 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.006695, allocations: 12 kB / 0.8805 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.007064, allocations: 115.8 kB / 0.8806 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.007187, allocations: 87.78 kB / 0.8807 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.007306, allocations: 75.88 kB / 0.8808 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.007714, allocations: 271.1 kB / 0.881 GB, free: 3 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.007718, allocations: 0 / 0.881 GB, free: 3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/0.007719, allocations: 0 / 0.881 GB, free: 3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.007724, allocations: 0 / 0.881 GB, free: 3 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.000959/0.008683, allocations: 445.4 kB / 0.8815 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.008721, allocations: 12.03 kB / 0.8815 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.008893, allocations: 40.72 kB / 0.8815 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.009182, allocations: 177.5 kB / 0.8817 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.009236, allocations: 28.36 kB / 0.8817 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.00927, allocations: 16.38 kB / 0.8817 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008941/0.01016, allocations: 281.9 kB / 0.882 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.01018, allocations: 192 / 0.882 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.0102, allocations: 8.375 kB / 0.882 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.01021, allocations: 7.938 kB / 0.882 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.01197, allocations: 0.7254 MB / 0.8827 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.01236, allocations: 229.1 kB / 0.8829 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.0142, allocations: 0.6336 MB / 0.8835 GB, free: 328 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005708/0.01477, allocations: 217.6 kB / 0.8838 GB, free: 108 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.01508, allocations: 79.95 kB / 0.8838 GB, free: 28 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.01514, allocations: 30.56 kB / 0.8839 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 1.623e-06/0.01514, allocations: 0 / 0.8839 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.001921/0.01706, allocations: 0.6709 MB / 0.8845 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.01712, allocations: 59.34 kB / 0.8846 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.01726, allocations: 121.8 kB / 0.8847 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.0173, allocations: 33.7 kB / 0.8847 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.01738, allocations: 84.8 kB / 0.8848 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.01752, allocations: 126.9 kB / 0.8849 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.01765, allocations: 69.67 kB / 0.885 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.01783, allocations: 322.8 kB / 0.8853 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000563/0.0184, allocations: 203.5 kB / 0.8855 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.01894, allocations: 195.9 kB / 0.8857 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.01996, allocations: 364.9 kB / 0.886 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.01997, allocations: 4 kB / 0.886 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001254/0.02122, allocations: 480.6 kB / 0.8865 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.02124, allocations: 11.98 kB / 0.8865 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.02126, allocations: 3.938 kB / 0.8865 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.02128, allocations: 0 / 0.8865 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.02168, allocations: 91.86 kB / 0.8866 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.02169, allocations: 7.938 kB / 0.8866 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.02189, allocations: 47.78 kB / 0.8866 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.02193, allocations: 23.98 kB / 0.8867 GB, free: 13.05 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.0001539/0.02208, allocations: 137.8 kB / 0.8868 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.375e-05/0.02216, allocations: 27.91 kB / 0.8868 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.02359, allocations: 0.5182 MB / 0.8873 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.0236, allocations: 4 kB / 0.8873 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.0236, allocations: 3.938 kB / 0.8873 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.02361, allocations: 3.984 kB / 0.8873 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.02396, allocations: 229.1 kB / 0.8876 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.02397, allocations: 0 / 0.8876 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.02436, allocations: 95.86 kB / 0.8876 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.02437, allocations: 7.984 kB / 0.8877 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.02439, allocations: 8 kB / 0.8877 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.0244, allocations: 0 / 0.8877 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.0244, allocations: 0 / 0.8877 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.0257, allocations: 0.5084 MB / 0.8882 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.02575, allocations: 23.78 kB / 0.8882 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.02579, allocations: 8 kB / 0.8882 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.02599, allocations: 35.95 kB / 0.8882 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003171/0.0263, allocations: 119.8 kB / 0.8883 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.02635, allocations: 23.92 kB / 0.8884 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.307e-05/0.02644, allocations: 99.2 kB / 0.8885 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02644, allocations: 0 / 0.8885 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004252/0.02687, allocations: 95.88 kB / 0.8885 GB, free: 11.05 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.0003918/0.02726, allocations: 159 kB / 0.8887 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.02865, allocations: 455 kB / 0.8891 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.02866, allocations: 8 kB / 0.8891 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.02927, allocations: 240.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.000472/0.02975, allocations: 103.9 kB / 0.8895 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/0.0306, allocations: 414 kB / 0.8899 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.03074, allocations: 126.5 kB / 0.89 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004577/0.0312, allocations: 181.7 kB / 0.8902 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.03132, allocations: 44.47 kB / 0.8902 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.03132, allocations: 0 / 0.8902 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of Templates: time 0.01088/0.0422, allocations: 5.088 MB / 0.8952 GB, free: 4.336 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.577102101990022]