Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.002468/0.002468, allocations: 87.69 kB / 20.23 MB, free: 4.184 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.00289/0.00289, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.634/1.634, allocations: 177.1 MB / 203.9 MB, free: 5.602 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 3.049/3.049, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.562e-05/3.738e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.186/0.186, allocations: 137.4 MB / 0.9205 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.04457/0.2306, allocations: 23.91 MB / 0.9439 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005448/0.236, allocations: 170.5 kB / 0.944 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.005144/0.2412, allocations: 1.502 MB / 0.9455 GB, free: 9.414 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.015/0.2562, allocations: 4.484 MB / 0.9499 GB, free: 4.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.007391/0.2636, allocations: 2.281 MB / 0.9521 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01268/0.2762, allocations: 6.701 MB / 0.9587 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004467/0.2807, allocations: 1.903 MB / 0.9605 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01159/0.2923, allocations: 3.827 MB / 0.9643 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004268/0.2966, allocations: 1.678 MB / 0.9659 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0006582/0.2972, allocations: 244 kB / 0.9661 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005961/0.3032, allocations: 1.621 MB / 0.9677 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.3043, allocations: 0.6418 MB / 0.9683 GB, free: 1.93 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002467/0.3067, allocations: 0.9702 MB / 0.9693 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.009506/0.3162, allocations: 4.421 MB / 0.9736 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3163, allocations: 0 / 0.9736 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3163, allocations: 4 kB / 0.9736 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000102/0.3164, allocations: 0 / 0.9736 GB, free: 12.52 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007946/0.3243, allocations: 3.549 MB / 0.9771 GB, free: 8.891 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3243, allocations: 8.031 kB / 0.9771 GB, free: 8.883 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004183/0.3285, allocations: 0.8416 MB / 0.9779 GB, free: 8.039 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005854/0.3344, allocations: 2.395 MB / 0.9802 GB, free: 5.562 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.3345, allocations: 127 kB / 0.9804 GB, free: 5.438 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003224/0.3349, allocations: 160 kB / 0.9805 GB, free: 5.281 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00465/0.3395, allocations: 2.038 MB / 0.9825 GB, free: 3.145 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.3395, allocations: 0 / 0.9825 GB, free: 3.145 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.3397, allocations: 64 kB / 0.9826 GB, free: 3.082 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.3398, allocations: 36 kB / 0.9826 GB, free: 3.047 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004238/0.344, allocations: 1.55 MB / 0.9841 GB, free: 1.496 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/0.3609, allocations: 8.326 MB / 0.9922 GB, free: 8.965 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0042/0.3651, allocations: 1.01 MB / 0.9932 GB, free: 7.93 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.3661, allocations: 371.1 kB / 0.9936 GB, free: 7.559 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005842/0.3667, allocations: 167.9 kB / 0.9937 GB, free: 7.395 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/0.3668, allocations: 49.39 kB / 0.9938 GB, free: 7.336 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 2.825e-06/0.3668, allocations: 0 / 0.9938 GB, free: 7.336 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.008248/0.375, allocations: 1.836 MB / 0.9956 GB, free: 5.484 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.3751, allocations: 85.11 kB / 0.9957 GB, free: 5.383 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004846/0.3799, allocations: 2.463 MB / 0.9981 GB, free: 2.879 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000215/0.3801, allocations: 45.7 kB / 0.9981 GB, free: 2.828 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001907/0.3821, allocations: 1.303 MB / 0.9994 GB, free: 1.512 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000458/0.3825, allocations: 301.6 kB / 0.9997 GB, free: 1.215 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006194/0.3831, allocations: 292.4 kB / 0.9999 GB, free: 0.918 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004473/0.3836, allocations: 0.5551 MB / 1 GB, free: 364 kB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.3851, allocations: 450.5 kB / 1.001 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/0.3881, allocations: 1.673 MB / 1.003 GB, free: 13.86 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002937/0.391, allocations: 1.215 MB / 1.004 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.391, allocations: 4 kB / 1.004 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.008205/0.3992, allocations: 1.87 MB / 1.006 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.3993, allocations: 14.38 kB / 1.006 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.3993, allocations: 11.94 kB / 1.006 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.4011, allocations: 414.9 kB / 1.006 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.4022, allocations: 239.6 kB / 1.006 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002632/0.4048, allocations: 2.002 MB / 1.008 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.4071, allocations: 199.3 kB / 1.008 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.4073, allocations: 55.97 kB / 1.008 GB, free: 7.605 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.00122/0.4085, allocations: 492.2 kB / 1.009 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006118/0.4091, allocations: 238.6 kB / 1.009 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/0.4126, allocations: 1.298 MB / 1.01 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/0.4126, allocations: 15.98 kB / 1.01 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4127, allocations: 0 / 1.01 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.4127, allocations: 3.984 kB / 1.01 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008749/0.4214, allocations: 3.581 MB / 1.014 GB, free: 1.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.4214, allocations: 3.938 kB / 1.014 GB, free: 1.855 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.422, allocations: 119.8 kB / 1.014 GB, free: 1.738 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.4235, allocations: 407.2 kB / 1.014 GB, free: 1.332 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.211e-05/0.4236, allocations: 19.98 kB / 1.014 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002928/0.4265, allocations: 2.053 MB / 1.016 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/0.4265, allocations: 4 kB / 1.016 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005703/0.4322, allocations: 1.762 MB / 1.018 GB, free: 13.35 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.4336, allocations: 364.2 kB / 1.019 GB, free: 12.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.4338, allocations: 19.92 kB / 1.019 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.435, allocations: 75.94 kB / 1.019 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.4351, allocations: 59.89 kB / 1.019 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.4352, allocations: 43.91 kB / 1.019 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003266/0.4385, allocations: 1.505 MB / 1.02 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1e-07/0.4385, allocations: 0 / 1.02 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002548/0.4411, allocations: 0.7402 MB / 1.021 GB, free: 10.53 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001338/0.4424, allocations: 0.6124 MB / 1.021 GB, free: 9.91 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003794/0.4462, allocations: 1.133 MB / 1.023 GB, free: 8.773 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.4462, allocations: 4 kB / 1.023 GB, free: 8.77 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.4481, allocations: 0.5504 MB / 1.023 GB, free: 8.215 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004503/0.4526, allocations: 0.9101 MB / 1.024 GB, free: 7.324 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007808/0.4604, allocations: 3.53 MB / 1.027 GB, free: 3.684 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.4617, allocations: 0.9116 MB / 1.028 GB, free: 2.738 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001785/0.4635, allocations: 343.6 kB / 1.029 GB, free: 2.398 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.4639, allocations: 148.4 kB / 1.029 GB, free: 2.254 MB / 0.9792 GB Notification: Performance of SimCode: time 1.673e-06/0.4639, allocations: 0 / 1.029 GB, free: 2.254 MB / 0.9792 GB Notification: Performance of Templates: time 0.4502/0.9141, allocations: 40.54 MB / 1.068 GB, free: 290 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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: 10.705313820042647]