Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002426/0.002426, allocations: 87.69 kB / 20.24 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.002786/0.002786, allocations: 157.7 kB / 23.55 MB, free: 0.875 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.636/1.636, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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 3.073/3.073, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 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.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_12_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_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.639e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1839/0.1839, allocations: 137.6 MB / 0.9452 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.04354/0.2275, allocations: 23.92 MB / 0.9685 GB, free: 176 kB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00583/0.2333, allocations: 178.5 kB / 0.9687 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.004982/0.2383, allocations: 1.498 MB / 0.9701 GB, free: 14.49 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0151/0.2534, allocations: 4.464 MB / 0.9745 GB, free: 10 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.006987/0.2604, allocations: 2.284 MB / 0.9767 GB, free: 7.715 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.01241/0.2728, allocations: 6.669 MB / 0.9832 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004098/0.2769, allocations: 1.915 MB / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0119/0.2888, allocations: 4.101 MB / 0.9891 GB, free: 10.96 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004336/0.2931, allocations: 1.636 MB / 0.9907 GB, free: 9.324 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0006355/0.2937, allocations: 244 kB / 0.991 GB, free: 9.086 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005093/0.2988, allocations: 1.606 MB / 0.9925 GB, free: 7.477 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0009552/0.2998, allocations: 0.6379 MB / 0.9931 GB, free: 6.836 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.3021, allocations: 0.978 MB / 0.9941 GB, free: 5.855 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.3121, allocations: 4.428 MB / 0.9984 GB, free: 1.414 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3121, allocations: 4 kB / 0.9984 GB, free: 1.41 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.871e-06/0.3121, allocations: 4 kB / 0.9984 GB, free: 1.406 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.784e-05/0.3122, allocations: 0 / 0.9984 GB, free: 1.406 MB / 0.948 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.007729/0.3199, allocations: 3.549 MB / 1.002 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.32, allocations: 12.03 kB / 1.002 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/0.3245, allocations: 0.8416 MB / 1.003 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005398/0.3299, allocations: 2.389 MB / 1.005 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.33, allocations: 135 kB / 1.005 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/0.3303, allocations: 160 kB / 1.005 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004528/0.3349, allocations: 2.029 MB / 1.007 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.3349, allocations: 3.938 kB / 1.007 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.3351, allocations: 64 kB / 1.007 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/0.3351, allocations: 36 kB / 1.007 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004085/0.3392, allocations: 1.558 MB / 1.009 GB, free: 6.367 MB / 0.9636 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.01578/0.355, allocations: 8.325 MB / 1.017 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003758/0.3587, allocations: 1.021 MB / 1.018 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009534/0.3597, allocations: 368 kB / 1.018 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005657/0.3602, allocations: 163.9 kB / 1.019 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.3603, allocations: 45.33 kB / 1.019 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=76): time 2.915e-06/0.3603, allocations: 0 / 1.019 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of matching and sorting (n=76): time 0.007867/0.3682, allocations: 1.854 MB / 1.02 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/0.3682, allocations: 89.05 kB / 1.021 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004711/0.3729, allocations: 2.463 MB / 1.023 GB, free: 7.73 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002249/0.3732, allocations: 41.7 kB / 1.023 GB, free: 7.684 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001615/0.3748, allocations: 1.306 MB / 1.024 GB, free: 6.363 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003935/0.3752, allocations: 293.6 kB / 1.025 GB, free: 6.074 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005336/0.3757, allocations: 292.4 kB / 1.025 GB, free: 5.781 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003365/0.376, allocations: 0.5434 MB / 1.025 GB, free: 5.23 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.3775, allocations: 466.4 kB / 1.026 GB, free: 4.773 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.3801, allocations: 1.659 MB / 1.027 GB, free: 2.734 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/0.383, allocations: 1.227 MB / 1.029 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.383, allocations: 4 kB / 1.029 GB, free: 1.344 MB / 0.9792 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.008126/0.3911, allocations: 1.885 MB / 1.03 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.3912, allocations: 8 kB / 1.03 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.3912, allocations: 8 kB / 1.03 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001764/0.393, allocations: 414.7 kB / 1.031 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.3941, allocations: 243.6 kB / 1.031 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/0.3966, allocations: 1.994 MB / 1.033 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.3987, allocations: 199.3 kB / 1.033 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.3988, allocations: 63.97 kB / 1.033 GB, free: 12.46 MB / 0.9948 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.001127/0.4, allocations: 488.3 kB / 1.034 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005511/0.4005, allocations: 238.5 kB / 1.034 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003462/0.404, allocations: 1.29 MB / 1.035 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/0.404, allocations: 12.12 kB / 1.035 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.404, allocations: 7.984 kB / 1.035 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.404, allocations: 7.984 kB / 1.035 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008732/0.4128, allocations: 3.569 MB / 1.039 GB, free: 6.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.4128, allocations: 7.938 kB / 1.039 GB, free: 6.723 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.4134, allocations: 112.2 kB / 1.039 GB, free: 6.613 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/0.415, allocations: 409.1 kB / 1.039 GB, free: 6.207 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.278e-05/0.4151, allocations: 23.98 kB / 1.039 GB, free: 6.184 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003101/0.4182, allocations: 2.053 MB / 1.041 GB, free: 4.066 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.4182, allocations: 7.938 kB / 1.041 GB, free: 4.059 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005584/0.4237, allocations: 1.754 MB / 1.043 GB, free: 2.223 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.425, allocations: 368.2 kB / 1.043 GB, free: 1.859 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/0.4253, allocations: 27.89 kB / 1.043 GB, free: 1.832 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.4265, allocations: 79.92 kB / 1.043 GB, free: 1.754 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.4266, allocations: 55.84 kB / 1.044 GB, free: 1.699 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.4267, allocations: 51.89 kB / 1.044 GB, free: 1.648 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003385/0.4301, allocations: 1.501 MB / 1.045 GB, free: 132 kB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.4301, allocations: 0 / 1.045 GB, free: 132 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.4366/0.8668, allocations: 0.7336 MB / 1.046 GB, free: 269.9 MB / 0.9948 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.001358/0.8681, allocations: 0.5999 MB / 1.046 GB, free: 269.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003282/0.8714, allocations: 1.129 MB / 1.047 GB, free: 269.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/0.8714, allocations: 2.875 kB / 1.047 GB, free: 269.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/0.8731, allocations: 0.5545 MB / 1.048 GB, free: 269.8 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004359/0.8774, allocations: 0.9178 MB / 1.049 GB, free: 269.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005472/0.8829, allocations: 3.518 MB / 1.052 GB, free: 268.1 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008412/0.8837, allocations: 0.9137 MB / 1.053 GB, free: 267.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001474/0.8852, allocations: 353.6 kB / 1.054 GB, free: 267.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.8856, allocations: 139.6 kB / 1.054 GB, free: 267.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.463e-06/0.8856, allocations: 0.6562 kB / 1.054 GB, free: 267.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.07098/0.9566, allocations: 40.54 MB / 1.093 GB, free: 257.7 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.89998931705486]