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.00138/0.00138, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001597/0.001597, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9813/0.9813, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.916/1.916, allocations: 377.8 MB / 0.6239 GB, free: 8.531 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.703e-06/1.703e-06, allocations: 0 / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.912e-05, allocations: 3.094 kB / 0.8115 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1232/0.1232, allocations: 137.9 MB / 0.9462 GB, free: 7.738 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.02738/0.1506, allocations: 23.92 MB / 0.9696 GB, free: 15.74 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00417/0.1547, allocations: 174.5 kB / 0.9698 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003999/0.1587, allocations: 1.505 MB / 0.9712 GB, free: 14.06 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.1694, allocations: 4.472 MB / 0.9756 GB, free: 9.562 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.005005/0.1744, allocations: 2.278 MB / 0.9778 GB, free: 7.281 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.008662/0.1831, allocations: 6.675 MB / 0.9843 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003268/0.1864, allocations: 1.903 MB / 0.9862 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00845/0.1948, allocations: 4.101 MB / 0.9902 GB, free: 10.54 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003251/0.1981, allocations: 1.639 MB / 0.9918 GB, free: 8.895 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005721/0.1986, allocations: 244 kB / 0.992 GB, free: 8.656 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003648/0.2023, allocations: 1.609 MB / 0.9936 GB, free: 7.043 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006172/0.2029, allocations: 0.6379 MB / 0.9942 GB, free: 6.402 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.001648/0.2045, allocations: 0.978 MB / 0.9952 GB, free: 5.422 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.006068/0.2106, allocations: 3.033 MB / 0.9981 GB, free: 2.379 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2106, allocations: 0 / 0.9981 GB, free: 2.379 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2106, allocations: 0 / 0.9981 GB, free: 2.379 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.896e-05/0.2107, allocations: 0 / 0.9981 GB, free: 2.379 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.004014/0.2147, allocations: 3.287 MB / 1.001 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.2147, allocations: 8.031 kB / 1.001 GB, free: 15 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.2168, allocations: 0.8493 MB / 1.002 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/0.2201, allocations: 2.361 MB / 1.004 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.2201, allocations: 127 kB / 1.005 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.2203, allocations: 160 kB / 1.005 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.2225, allocations: 1.446 MB / 1.006 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.2225, allocations: 0 / 1.006 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.2226, allocations: 64 kB / 1.006 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.2226, allocations: 36 kB / 1.006 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.2241, allocations: 0.6907 MB / 1.007 GB, free: 9.09 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.008392/0.2325, allocations: 6.429 MB / 1.013 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.2341, allocations: 0.71 MB / 1.014 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.2344, allocations: 199.3 kB / 1.014 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.2348, allocations: 159.6 kB / 1.014 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.2348, allocations: 41.39 kB / 1.014 GB, free: 1.355 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=76): time 4.208e-06/0.2348, allocations: 0 / 1.014 GB, free: 1.355 MB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.003218/0.238, allocations: 1.339 MB / 1.016 GB, free: 0 / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.2381, allocations: 88.86 kB / 1.016 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.2398, allocations: 1.69 MB / 1.017 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.418e-05/0.2399, allocations: 45.7 kB / 1.017 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006337/0.2406, allocations: 1.15 MB / 1.019 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.2408, allocations: 285.6 kB / 1.019 GB, free: 12.67 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.241, allocations: 260.4 kB / 1.019 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2412, allocations: 0.516 MB / 1.02 GB, free: 11.88 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.2415, allocations: 166.5 kB / 1.02 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009055/0.2424, allocations: 1.347 MB / 1.021 GB, free: 9.996 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008681/0.2433, allocations: 0.7708 MB / 1.022 GB, free: 9.066 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.2433, allocations: 0 / 1.022 GB, free: 9.066 MB / 0.9792 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002859/0.2462, allocations: 1.303 MB / 1.023 GB, free: 7.746 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.2462, allocations: 8 kB / 1.023 GB, free: 7.738 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.2462, allocations: 8 kB / 1.023 GB, free: 7.73 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008284/0.247, allocations: 335.2 kB / 1.023 GB, free: 7.395 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/0.2476, allocations: 235.7 kB / 1.024 GB, free: 7.164 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.2486, allocations: 1.827 MB / 1.025 GB, free: 5.273 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.2496, allocations: 195.3 kB / 1.026 GB, free: 5.082 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.783e-05/0.2497, allocations: 67.95 kB / 1.026 GB, free: 5.016 MB / 0.9792 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.0004604/0.2502, allocations: 216.3 kB / 1.026 GB, free: 4.793 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/0.2505, allocations: 234.6 kB / 1.026 GB, free: 4.562 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.2518, allocations: 0.9416 MB / 1.027 GB, free: 3.602 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.2518, allocations: 11.98 kB / 1.027 GB, free: 3.59 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2518, allocations: 4 kB / 1.027 GB, free: 3.586 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.2518, allocations: 3.984 kB / 1.027 GB, free: 3.582 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/0.2553, allocations: 2.573 MB / 1.03 GB, free: 0.9023 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.2553, allocations: 7.938 kB / 1.03 GB, free: 0.8945 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.2556, allocations: 116.2 kB / 1.03 GB, free: 0.7812 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006887/0.2563, allocations: 333.4 kB / 1.03 GB, free: 460 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.2563, allocations: 19.98 kB / 1.03 GB, free: 440 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.2574, allocations: 1.873 MB / 1.032 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.2574, allocations: 3.984 kB / 1.032 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.2596, allocations: 1.391 MB / 1.033 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005649/0.2602, allocations: 372.2 kB / 1.034 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.2603, allocations: 27.88 kB / 1.034 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005906/0.2609, allocations: 75.94 kB / 1.034 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.261, allocations: 55.83 kB / 1.034 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/0.2611, allocations: 51.84 kB / 1.034 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001252/0.2623, allocations: 1.017 MB / 1.035 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2623, allocations: 0 / 1.035 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001654/0.264, allocations: 0.7325 MB / 1.035 GB, free: 10.68 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.0008562/0.2648, allocations: 0.6111 MB / 1.036 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.2663, allocations: 0.6603 MB / 1.037 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2663, allocations: 0 / 1.037 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007411/0.2671, allocations: 389.1 kB / 1.037 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.2696, allocations: 0.9104 MB / 1.038 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004542/0.2741, allocations: 3.226 MB / 1.041 GB, free: 4.777 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.2745, allocations: 362.2 kB / 1.041 GB, free: 4.398 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001227/0.2757, allocations: 351.5 kB / 1.042 GB, free: 4.051 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.276, allocations: 136.5 kB / 1.042 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of SimCode: time 2.184e-06/0.276, allocations: 3.938 kB / 1.042 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of Templates: time 0.3666/0.6426, allocations: 40.61 MB / 1.082 GB, free: 265.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.586081417044625]