Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001312/0.001312, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001471/0.001471, allocations: 181 kB / 23.36 MB, free: 1.129 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.934/0.934, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.578/2.578, allocations: 438.8 MB / 0.6826 GB, free: 13.67 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.662e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.03153/0.03154, allocations: 32.56 MB / 0.8704 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01982/0.05136, allocations: 11.06 MB / 0.8812 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.05373, allocations: 182.4 kB / 0.8814 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.05503, allocations: 0.7906 MB / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.05881, allocations: 2.684 MB / 0.8848 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.06245, allocations: 2.673 MB / 0.8874 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005111/0.06756, allocations: 6.638 MB / 0.8939 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/0.06956, allocations: 1.954 MB / 0.8958 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.07313, allocations: 3.31 MB / 0.899 GB, free: 168 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.07448, allocations: 1.503 MB / 0.9005 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002263/0.0747, allocations: 248 kB / 0.9007 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.07573, allocations: 0.7333 MB / 0.9014 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003677/0.07609, allocations: 0.6378 MB / 0.9021 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008452/0.07694, allocations: 0.9859 MB / 0.903 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.07889, allocations: 2.429 MB / 0.9054 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.07889, allocations: 4 kB / 0.9054 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.353e-06/0.07889, allocations: 0 / 0.9054 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.07891, allocations: 3.938 kB / 0.9054 GB, free: 9.605 MB / 0.8698 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.002752/0.08166, allocations: 3.124 MB / 0.9085 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.08169, allocations: 8.625 kB / 0.9085 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.0832, allocations: 0.7258 MB / 0.9092 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.08502, allocations: 1.617 MB / 0.9108 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-05/0.0851, allocations: 131 kB / 0.9109 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.08525, allocations: 180 kB / 0.911 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.08665, allocations: 1.326 MB / 0.9123 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.08667, allocations: 0 / 0.9123 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.08675, allocations: 64 kB / 0.9124 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.08678, allocations: 36 kB / 0.9124 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000686/0.08746, allocations: 0.509 MB / 0.9129 GB, free: 1.645 MB / 0.8698 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.004754/0.09222, allocations: 4.559 MB / 0.9174 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009948/0.09321, allocations: 0.6609 MB / 0.918 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.09338, allocations: 155.3 kB / 0.9182 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.457e-05/0.09347, allocations: 39.98 kB / 0.9182 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.09349, allocations: 38.56 kB / 0.9183 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 2.134e-06/0.09349, allocations: 0 / 0.9183 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.002124/0.09562, allocations: 1.051 MB / 0.9193 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.09566, allocations: 92.86 kB / 0.9194 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.09694, allocations: 1.679 MB / 0.921 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/0.097, allocations: 53.7 kB / 0.9211 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.09738, allocations: 0.8056 MB / 0.9218 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.09753, allocations: 289.5 kB / 0.9221 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.0978, allocations: 298.6 kB / 0.9224 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.0979, allocations: 361.8 kB / 0.9228 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.09821, allocations: 177.3 kB / 0.9229 GB, free: 7.152 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008911/0.0991, allocations: 1.415 MB / 0.9243 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008263/0.09993, allocations: 0.9571 MB / 0.9252 GB, free: 4.117 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.09994, allocations: 8 kB / 0.9252 GB, free: 4.109 MB / 0.8855 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002133/0.1021, allocations: 1.243 MB / 0.9265 GB, free: 2.848 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1021, allocations: 12 kB / 0.9265 GB, free: 2.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.1021, allocations: 19.98 kB / 0.9265 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006247/0.1027, allocations: 332.2 kB / 0.9268 GB, free: 2.488 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/0.1033, allocations: 311.5 kB / 0.9271 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007012/0.104, allocations: 1.253 MB / 0.9283 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/0.1048, allocations: 246.8 kB / 0.9286 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/0.1049, allocations: 63.97 kB / 0.9286 GB, free: 0.5742 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (141): * Single equations (assignments): 139 * 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,8), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000302/0.1052, allocations: 212.3 kB / 0.9288 GB, free: 364 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.1053, allocations: 147.8 kB / 0.929 GB, free: 216 kB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009234/0.1063, allocations: 0.7492 MB / 0.9297 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.1063, allocations: 15.98 kB / 0.9297 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1063, allocations: 0 / 0.9297 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1063, allocations: 3.984 kB / 0.9297 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.1087, allocations: 1.937 MB / 0.9316 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.1087, allocations: 4 kB / 0.9316 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.1089, allocations: 111.9 kB / 0.9317 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005446/0.1095, allocations: 321.5 kB / 0.932 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.1095, allocations: 23.98 kB / 0.9321 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007422/0.1103, allocations: 1.266 MB / 0.9333 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1103, allocations: 11.88 kB / 0.9333 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.1116, allocations: 1.114 MB / 0.9344 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.112, allocations: 268.9 kB / 0.9346 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.1121, allocations: 23.95 kB / 0.9347 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.1126, allocations: 75.88 kB / 0.9347 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.1127, allocations: 63.83 kB / 0.9348 GB, free: 10 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.1128, allocations: 27.97 kB / 0.9348 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0007401/0.1135, allocations: 0.8613 MB / 0.9357 GB, free: 9.098 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.41e-07/0.1135, allocations: 0 / 0.9357 GB, free: 9.098 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001077/0.1146, allocations: 0.6042 MB / 0.9363 GB, free: 8.492 MB / 0.9011 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.0002982/0.1149, allocations: 199.9 kB / 0.9364 GB, free: 8.289 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.116, allocations: 0.6764 MB / 0.9371 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.531e-05/0.116, allocations: 28.44 kB / 0.9371 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005275/0.1166, allocations: 336.9 kB / 0.9375 GB, free: 7.258 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.1184, allocations: 0.9076 MB / 0.9383 GB, free: 6.359 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.1219, allocations: 3.337 MB / 0.9416 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1221, allocations: 362.6 kB / 0.9419 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006982/0.1228, allocations: 324.6 kB / 0.9423 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/0.124, allocations: 0.6688 MB / 0.9429 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of SimCode: time 1.423e-06/0.124, allocations: 0 / 0.9429 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of Templates: time 0.04303/0.167, allocations: 38.71 MB / 0.9807 GB, free: 11.74 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.277149980887771]