Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001887/0.001887, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002325/0.002325, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.493/1.493, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.754/2.754, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.403e-05, allocations: 7.438 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.004154/0.004188, allocations: 1.397 MB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006556/0.01074, allocations: 2.752 MB / 0.7904 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.01079, allocations: 0.7188 kB / 0.7904 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.0109, allocations: 11.92 kB / 0.7904 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.01109, allocations: 45.88 kB / 0.7905 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009585/0.01204, allocations: 183.7 kB / 0.7906 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005958/0.01264, allocations: 251.3 kB / 0.7909 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.01269, allocations: 12.77 kB / 0.7909 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.01297, allocations: 111.8 kB / 0.791 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.01325, allocations: 120.9 kB / 0.7911 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.607e-05/0.01331, allocations: 12 kB / 0.7911 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006046/0.01391, allocations: 147.7 kB / 0.7913 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.01409, allocations: 93.16 kB / 0.7914 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.01427, allocations: 67.89 kB / 0.7914 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000744/0.01501, allocations: 311 kB / 0.7917 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.01502, allocations: 1.75 kB / 0.7917 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.093e-06/0.01502, allocations: 0 / 0.7917 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.01502, allocations: 0 / 0.7917 GB, free: 7.359 MB / 0.7448 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.001363/0.01639, allocations: 470.4 kB / 0.7922 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.01643, allocations: 13.66 kB / 0.7922 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.01668, allocations: 28.84 kB / 0.7922 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.0171, allocations: 185.5 kB / 0.7924 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.571e-05/0.01717, allocations: 24.36 kB / 0.7924 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/0.01724, allocations: 19.09 kB / 0.7924 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.01837, allocations: 283.6 kB / 0.7927 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.01838, allocations: 0.6875 kB / 0.7927 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.01843, allocations: 12.11 kB / 0.7927 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.01844, allocations: 4.531 kB / 0.7927 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/0.02105, allocations: 0.7222 MB / 0.7934 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.02161, allocations: 229.1 kB / 0.7936 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.02444, allocations: 0.6408 MB / 0.7943 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008759/0.02532, allocations: 216.7 kB / 0.7945 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004286/0.02575, allocations: 89.84 kB / 0.7946 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.0258, allocations: 34.56 kB / 0.7946 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 2.244e-06/0.0258, allocations: 0 / 0.7946 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.002741/0.02854, allocations: 0.6672 MB / 0.7952 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.02861, allocations: 63.33 kB / 0.7953 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.02879, allocations: 120 kB / 0.7954 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/0.02884, allocations: 37.7 kB / 0.7954 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.02892, allocations: 90.09 kB / 0.7955 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.02911, allocations: 122.9 kB / 0.7957 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.02929, allocations: 65.69 kB / 0.7957 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002451/0.02953, allocations: 334.8 kB / 0.796 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008592/0.03039, allocations: 186.3 kB / 0.7962 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009347/0.03133, allocations: 205 kB / 0.7964 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.03302, allocations: 360.7 kB / 0.7967 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.03303, allocations: 0 / 0.7967 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002115/0.03514, allocations: 480.9 kB / 0.7972 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.03517, allocations: 4 kB / 0.7972 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.03517, allocations: 0 / 0.7972 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.0352, allocations: 4 kB / 0.7972 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/0.03589, allocations: 107.7 kB / 0.7973 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.0359, allocations: 0 / 0.7973 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.03624, allocations: 47.86 kB / 0.7974 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.0363, allocations: 11.98 kB / 0.7974 GB, free: 1.418 MB / 0.7448 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.000247/0.03654, allocations: 141.8 kB / 0.7975 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.03666, allocations: 27.91 kB / 0.7975 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.03915, allocations: 0.5179 MB / 0.798 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.03916, allocations: 4 kB / 0.798 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.03917, allocations: 3.938 kB / 0.7981 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.03918, allocations: 4 kB / 0.7981 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005569/0.03974, allocations: 237 kB / 0.7983 GB, free: 456 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.03975, allocations: 7.984 kB / 0.7983 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/0.04039, allocations: 91.86 kB / 0.7984 GB, free: 356 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.0404, allocations: 0 / 0.7984 GB, free: 356 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.04044, allocations: 15.98 kB / 0.7984 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.04045, allocations: 4 kB / 0.7984 GB, free: 336 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.04045, allocations: 0 / 0.7984 GB, free: 336 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.04226, allocations: 0.5081 MB / 0.7989 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.04231, allocations: 19.84 kB / 0.7989 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.04236, allocations: 8 kB / 0.7989 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.04263, allocations: 35.95 kB / 0.799 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003992/0.04303, allocations: 119.7 kB / 0.7991 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.04308, allocations: 15.98 kB / 0.7991 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001024/0.04318, allocations: 101.4 kB / 0.7992 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.04318, allocations: 0 / 0.7992 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005046/0.04369, allocations: 119.7 kB / 0.7993 GB, free: 15.39 MB / 0.7605 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.0004522/0.04414, allocations: 198.9 kB / 0.7995 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.04533, allocations: 455.3 kB / 0.7999 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.04533, allocations: 0 / 0.7999 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000593/0.04593, allocations: 243.7 kB / 0.8001 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.04638, allocations: 95.91 kB / 0.8002 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008941/0.04728, allocations: 425.2 kB / 0.8006 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.04741, allocations: 122.6 kB / 0.8008 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004531/0.04787, allocations: 187 kB / 0.8009 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.04799, allocations: 44.47 kB / 0.801 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of SimCode: time 8.82e-07/0.04799, allocations: 0 / 0.801 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of Templates: time 0.01197/0.05996, allocations: 5.509 MB / 0.8064 GB, free: 8.223 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.096545365056954]