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.0009461/0.0009461, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001033/0.001033, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9776/0.9776, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 1.786/1.786, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.362e-06/1.362e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.437e-05, allocations: 3.312 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.02292/0.02294, allocations: 32.81 MB / 0.8436 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01371/0.03664, allocations: 9.64 MB / 0.853 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.03873, allocations: 178.5 kB / 0.8532 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.03991, allocations: 0.7597 MB / 0.8539 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.003651/0.04356, allocations: 2.649 MB / 0.8565 GB, free: 3.609 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002912/0.04647, allocations: 2.2 MB / 0.8586 GB, free: 1.406 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.005205/0.05167, allocations: 6.499 MB / 0.865 GB, free: 10.88 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002441/0.05411, allocations: 1.903 MB / 0.8669 GB, free: 8.914 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003678/0.05779, allocations: 3.333 MB / 0.8701 GB, free: 5.598 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.05948, allocations: 1.546 MB / 0.8716 GB, free: 4.047 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000349/0.05983, allocations: 240 kB / 0.8718 GB, free: 3.812 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.06084, allocations: 0.7098 MB / 0.8725 GB, free: 3.102 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.06119, allocations: 0.6184 MB / 0.8731 GB, free: 2.48 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008583/0.06205, allocations: 0.9469 MB / 0.8741 GB, free: 1.531 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.064, allocations: 2.363 MB / 0.8764 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.064, allocations: 0 / 0.8764 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.402e-06/0.064, allocations: 0 / 0.8764 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.06402, allocations: 4 kB / 0.8764 GB, free: 15.16 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.002877/0.0669, allocations: 3.117 MB / 0.8794 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.06693, allocations: 12.03 kB / 0.8794 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.06872, allocations: 0.8377 MB / 0.8802 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.07082, allocations: 2.192 MB / 0.8824 GB, free: 8.836 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.491e-05/0.07089, allocations: 123 kB / 0.8825 GB, free: 8.715 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.07105, allocations: 168 kB / 0.8827 GB, free: 8.551 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.07296, allocations: 1.434 MB / 0.8841 GB, free: 7.016 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.07298, allocations: 0 / 0.8841 GB, free: 7.016 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.07308, allocations: 67.98 kB / 0.8841 GB, free: 6.949 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.0731, allocations: 36 kB / 0.8842 GB, free: 6.914 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.07427, allocations: 0.6946 MB / 0.8848 GB, free: 6.219 MB / 0.8386 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.005927/0.08019, allocations: 6.422 MB / 0.8911 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.08143, allocations: 0.6824 MB / 0.8918 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.08169, allocations: 195.3 kB / 0.892 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-05/0.08179, allocations: 39.97 kB / 0.892 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.08182, allocations: 45.39 kB / 0.8921 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=76): time 2.024e-06/0.08182, allocations: 0 / 0.8921 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76): time 0.002715/0.08453, allocations: 1.335 MB / 0.8934 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.08457, allocations: 85.11 kB / 0.8934 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.08625, allocations: 1.686 MB / 0.8951 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.783e-05/0.08631, allocations: 41.7 kB / 0.8951 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005762/0.08688, allocations: 1.147 MB / 0.8962 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.08703, allocations: 285.5 kB / 0.8965 GB, free: 9.969 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.08729, allocations: 256.4 kB / 0.8968 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.08741, allocations: 0.516 MB / 0.8973 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.08773, allocations: 166.5 kB / 0.8974 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007035/0.08843, allocations: 1.35 MB / 0.8987 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007454/0.08918, allocations: 0.7667 MB / 0.8995 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.08918, allocations: 4 kB / 0.8995 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002548/0.09173, allocations: 1.291 MB / 0.9008 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.09175, allocations: 8 kB / 0.9008 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.09176, allocations: 12 kB / 0.9008 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007064/0.09246, allocations: 349.3 kB / 0.9011 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.09296, allocations: 227.7 kB / 0.9013 GB, free: 4.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009143/0.09388, allocations: 1.83 MB / 0.9031 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007445/0.09462, allocations: 215.2 kB / 0.9033 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.031e-05/0.0947, allocations: 59.97 kB / 0.9034 GB, free: 2.305 MB / 0.8542 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 (105): * Single equations (assignments): 103 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003074/0.09501, allocations: 228.2 kB / 0.9036 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.09523, allocations: 230.6 kB / 0.9038 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.09642, allocations: 0.9455 MB / 0.9047 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.09644, allocations: 8 kB / 0.9047 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.09644, allocations: 0 / 0.9047 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.09645, allocations: 3.984 kB / 0.9047 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/0.09935, allocations: 2.557 MB / 0.9072 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.09936, allocations: 7.938 kB / 0.9073 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.09962, allocations: 107.9 kB / 0.9074 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006103/0.1002, allocations: 340.2 kB / 0.9077 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.1003, allocations: 27.98 kB / 0.9077 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.1014, allocations: 1.872 MB / 0.9095 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1014, allocations: 4 kB / 0.9095 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.1032, allocations: 1.391 MB / 0.9109 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/0.1037, allocations: 376.1 kB / 0.9113 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.1038, allocations: 19.94 kB / 0.9113 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/0.1043, allocations: 75.92 kB / 0.9113 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.1044, allocations: 63.84 kB / 0.9114 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.1045, allocations: 47.89 kB / 0.9115 GB, free: 9.738 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009719/0.1054, allocations: 1.005 MB / 0.9124 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.1054, allocations: 0 / 0.9124 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009489/0.1064, allocations: 0.5846 MB / 0.913 GB, free: 8.129 MB / 0.8698 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000315/0.1067, allocations: 221.5 kB / 0.9132 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.1078, allocations: 0.6566 MB / 0.9139 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1078, allocations: 0 / 0.9139 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006577/0.1084, allocations: 407.5 kB / 0.9142 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.1106, allocations: 0.9131 MB / 0.9151 GB, free: 5.957 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.1143, allocations: 3.231 MB / 0.9183 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.1145, allocations: 358.2 kB / 0.9186 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007466/0.1152, allocations: 347.4 kB / 0.919 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.1155, allocations: 140.5 kB / 0.9191 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of SimCode: time 1.332e-06/0.1155, allocations: 4 kB / 0.9191 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of Templates: time 0.04224/0.1577, allocations: 37.69 MB / 0.9559 GB, free: 12.93 MB / 0.9167 GB " [Timeout remaining time 300] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.756705131847411]