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.00104/0.00104, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009252/0.0009252, allocations: 165 kB / 23.02 MB, free: 1.551 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.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.383 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.173/2.173, allocations: 429.5 MB / 0.6733 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.884e-06/1.884e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.267e-05, allocations: 3.656 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.03916/0.03919, allocations: 33.1 MB / 0.9105 GB, free: 5.109 MB / 0.8699 GB Notification: Performance of NFInst.instExpressions: time 0.02359/0.06278, allocations: 10.82 MB / 0.9211 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004076/0.06686, allocations: 182.4 kB / 0.9212 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.06897, allocations: 0.779 MB / 0.922 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.006081/0.07506, allocations: 2.684 MB / 0.9246 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.005364/0.08042, allocations: 2.701 MB / 0.9272 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.008453/0.08887, allocations: 6.64 MB / 0.9337 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003119/0.09199, allocations: 1.885 MB / 0.9356 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005694/0.09768, allocations: 3.145 MB / 0.9386 GB, free: 8.18 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002968/0.1007, allocations: 1.655 MB / 0.9403 GB, free: 6.52 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0006323/0.1013, allocations: 252 kB / 0.9405 GB, free: 6.273 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.103, allocations: 0.7527 MB / 0.9412 GB, free: 5.52 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0006331/0.1036, allocations: 0.6573 MB / 0.9419 GB, free: 4.859 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.1052, allocations: 1.013 MB / 0.9429 GB, free: 3.844 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003766/0.109, allocations: 2.484 MB / 0.9453 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.109, allocations: 4 kB / 0.9453 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.834e-06/0.109, allocations: 4 kB / 0.9453 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.251e-05/0.109, allocations: 0 / 0.9453 GB, free: 1.344 MB / 0.9011 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.004224/0.1132, allocations: 3.306 MB / 0.9485 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.1133, allocations: 8.031 kB / 0.9485 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.1153, allocations: 0.8603 MB / 0.9494 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003606/0.1189, allocations: 2.509 MB / 0.9518 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.919e-05/0.119, allocations: 135 kB / 0.952 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.1192, allocations: 176 kB / 0.9521 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.1216, allocations: 1.438 MB / 0.9535 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.1216, allocations: 3.938 kB / 0.9535 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.1218, allocations: 60 kB / 0.9536 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.1218, allocations: 43.94 kB / 0.9536 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.1231, allocations: 0.6907 MB / 0.9543 GB, free: 7.852 MB / 0.9167 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.007928/0.131, allocations: 6.546 MB / 0.9607 GB, free: 1.145 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.1326, allocations: 0.7084 MB / 0.9614 GB, free: 428 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.1329, allocations: 203.3 kB / 0.9616 GB, free: 216 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.133, allocations: 39.97 kB / 0.9616 GB, free: 176 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.133, allocations: 41.39 kB / 0.9617 GB, free: 124 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=76): time 3.427e-06/0.133, allocations: 0 / 0.9617 GB, free: 124 kB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.003317/0.1363, allocations: 1.353 MB / 0.963 GB, free: 14.75 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.1364, allocations: 85.11 kB / 0.9631 GB, free: 14.65 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.1385, allocations: 1.834 MB / 0.9649 GB, free: 12.79 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.1386, allocations: 49.7 kB / 0.9649 GB, free: 12.73 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007422/0.1394, allocations: 1.191 MB / 0.9661 GB, free: 11.52 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.1396, allocations: 277.6 kB / 0.9663 GB, free: 11.25 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/0.1399, allocations: 320.3 kB / 0.9666 GB, free: 10.93 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1401, allocations: 0.5277 MB / 0.9671 GB, free: 10.39 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.1405, allocations: 194.5 kB / 0.9673 GB, free: 10.2 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.1417, allocations: 1.681 MB / 0.969 GB, free: 7.996 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.1428, allocations: 1.173 MB / 0.9701 GB, free: 6.512 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.1428, allocations: 4 kB / 0.9701 GB, free: 6.508 MB / 0.9324 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003181/0.146, allocations: 1.538 MB / 0.9716 GB, free: 4.953 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.146, allocations: 12 kB / 0.9716 GB, free: 4.941 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.146, allocations: 16 kB / 0.9717 GB, free: 4.926 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008809/0.1469, allocations: 343.1 kB / 0.972 GB, free: 4.582 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/0.1476, allocations: 311.5 kB / 0.9723 GB, free: 4.277 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.149, allocations: 1.83 MB / 0.9741 GB, free: 2.383 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.1502, allocations: 239 kB / 0.9743 GB, free: 2.148 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.1503, allocations: 83.97 kB / 0.9744 GB, free: 2.066 MB / 0.9324 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 (142): * Single equations (assignments): 140 * 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.0004784/0.1507, allocations: 256 kB / 0.9746 GB, free: 1.805 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/0.1511, allocations: 246.5 kB / 0.9749 GB, free: 1.562 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.1525, allocations: 0.94 MB / 0.9758 GB, free: 0.6016 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.1525, allocations: 8 kB / 0.9758 GB, free: 0.5938 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1525, allocations: 0 / 0.9758 GB, free: 0.5938 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1525, allocations: 7.984 kB / 0.9758 GB, free: 0.5859 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/0.156, allocations: 2.634 MB / 0.9784 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.1561, allocations: 7.938 kB / 0.9784 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.1563, allocations: 111.9 kB / 0.9785 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007017/0.157, allocations: 335.2 kB / 0.9788 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.1571, allocations: 27.97 kB / 0.9788 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.1582, allocations: 1.857 MB / 0.9806 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.1582, allocations: 7.938 kB / 0.9806 GB, free: 11.44 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.1608, allocations: 1.4 MB / 0.982 GB, free: 9.961 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006296/0.1614, allocations: 384.1 kB / 0.9824 GB, free: 9.582 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.1616, allocations: 16 kB / 0.9824 GB, free: 9.566 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/0.1622, allocations: 79.92 kB / 0.9825 GB, free: 9.488 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.1623, allocations: 63.78 kB / 0.9825 GB, free: 9.426 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.1623, allocations: 47.89 kB / 0.9826 GB, free: 9.379 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001265/0.1636, allocations: 1.077 MB / 0.9836 GB, free: 8.289 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1636, allocations: 0 / 0.9836 GB, free: 8.289 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001415/0.165, allocations: 0.6081 MB / 0.9842 GB, free: 7.68 MB / 0.948 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.0004275/0.1655, allocations: 218.8 kB / 0.9844 GB, free: 7.453 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.1671, allocations: 0.764 MB / 0.9852 GB, free: 6.688 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.1671, allocations: 4 kB / 0.9852 GB, free: 6.684 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000734/0.1678, allocations: 389 kB / 0.9855 GB, free: 6.301 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/0.1703, allocations: 0.9161 MB / 0.9864 GB, free: 5.395 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/0.1751, allocations: 3.371 MB / 0.9897 GB, free: 1.91 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.1754, allocations: 378.6 kB / 0.9901 GB, free: 1.512 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001057/0.1764, allocations: 364.4 kB / 0.9904 GB, free: 1.152 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.1767, allocations: 148.4 kB / 0.9906 GB, free: 1.008 MB / 0.948 GB Notification: Performance of SimCode: time 1.914e-06/0.1767, allocations: 0 / 0.9906 GB, free: 1.008 MB / 0.948 GB Notification: Performance of Templates: time 0.04615/0.2229, allocations: 35.76 MB / 1.026 GB, free: 14.1 MB / 0.9949 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 -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.592643410898745]