Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.0009527/0.0009527, allocations: 93.06 kB / 19.65 MB, free: 280 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.001011/0.001011, 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.009/1.009, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.102/2.102, allocations: 429.5 MB / 0.6733 GB, free: 4.047 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.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.688e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.02706/0.02709, allocations: 33.12 MB / 0.9105 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.04525, allocations: 10.82 MB / 0.9211 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004149/0.04939, allocations: 186.4 kB / 0.9213 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.05171, allocations: 0.7828 MB / 0.922 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.006084/0.05779, allocations: 2.684 MB / 0.9247 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.005005/0.0628, allocations: 2.692 MB / 0.9273 GB, free: 3.91 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00796/0.07076, allocations: 6.666 MB / 0.9338 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002791/0.07355, allocations: 1.892 MB / 0.9356 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005159/0.07871, allocations: 3.145 MB / 0.9387 GB, free: 8.141 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.08118, allocations: 1.663 MB / 0.9403 GB, free: 6.473 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0005369/0.08171, allocations: 256 kB / 0.9406 GB, free: 6.223 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.08323, allocations: 0.7449 MB / 0.9413 GB, free: 5.477 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0005275/0.08376, allocations: 0.669 MB / 0.942 GB, free: 4.805 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.08521, allocations: 1.013 MB / 0.943 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.00351/0.08872, allocations: 2.495 MB / 0.9454 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.08873, allocations: 4 kB / 0.9454 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.533e-06/0.08873, allocations: 0 / 0.9454 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.816e-05/0.08879, allocations: 4 kB / 0.9454 GB, free: 1.277 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.004152/0.09294, allocations: 3.321 MB / 0.9486 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.09299, allocations: 12.03 kB / 0.9487 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.09511, allocations: 0.8608 MB / 0.9495 GB, free: 13 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003479/0.09859, allocations: 2.502 MB / 0.9519 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.09869, allocations: 135 kB / 0.9521 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.09888, allocations: 179.9 kB / 0.9522 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.1011, allocations: 1.438 MB / 0.9536 GB, free: 8.566 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.1011, allocations: 3.938 kB / 0.9536 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.1012, allocations: 60 kB / 0.9537 GB, free: 8.504 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.1013, allocations: 40 kB / 0.9537 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.1026, allocations: 0.6946 MB / 0.9544 GB, free: 7.77 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.007919/0.1105, allocations: 6.565 MB / 0.9608 GB, free: 1.043 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.1121, allocations: 0.6978 MB / 0.9615 GB, free: 332 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.1124, allocations: 203.3 kB / 0.9617 GB, free: 120 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.1125, allocations: 39.97 kB / 0.9617 GB, free: 80 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.1125, allocations: 45.33 kB / 0.9618 GB, free: 24 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/0.1125, allocations: 0 / 0.9618 GB, free: 24 kB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.003198/0.1157, allocations: 1.362 MB / 0.9631 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.1158, allocations: 89.05 kB / 0.9632 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.1177, allocations: 1.858 MB / 0.965 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-05/0.1178, allocations: 49.7 kB / 0.9651 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007036/0.1185, allocations: 1.194 MB / 0.9662 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.1187, allocations: 285.6 kB / 0.9665 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.1191, allocations: 324.3 kB / 0.9668 GB, free: 10.78 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1192, allocations: 0.5238 MB / 0.9673 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.1196, allocations: 194.5 kB / 0.9675 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009459/0.1205, allocations: 1.677 MB / 0.9691 GB, free: 7.855 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.1216, allocations: 1.162 MB / 0.9703 GB, free: 6.383 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.1216, allocations: 4 kB / 0.9703 GB, free: 6.379 MB / 0.9323 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00308/0.1247, allocations: 1.546 MB / 0.9718 GB, free: 4.816 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.1247, allocations: 12 kB / 0.9718 GB, free: 4.805 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.1247, allocations: 16 kB / 0.9718 GB, free: 4.789 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009596/0.1257, allocations: 419.2 kB / 0.9722 GB, free: 4.371 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/0.1263, allocations: 307.5 kB / 0.9725 GB, free: 4.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.1274, allocations: 1.844 MB / 0.9743 GB, free: 2.164 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.1286, allocations: 242.9 kB / 0.9745 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.1287, allocations: 87.95 kB / 0.9746 GB, free: 1.84 MB / 0.9323 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004656/0.1292, allocations: 244.1 kB / 0.9749 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/0.1295, allocations: 250.5 kB / 0.9751 GB, free: 1.344 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.1308, allocations: 0.944 MB / 0.976 GB, free: 388 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.1309, allocations: 8 kB / 0.976 GB, free: 380 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1309, allocations: 0 / 0.976 GB, free: 380 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.1309, allocations: 7.984 kB / 0.976 GB, free: 372 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003704/0.1346, allocations: 2.638 MB / 0.9786 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.1346, allocations: 4 kB / 0.9786 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.1349, allocations: 112.2 kB / 0.9787 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007994/0.1357, allocations: 397.4 kB / 0.9791 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.1357, allocations: 31.98 kB / 0.9791 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.1368, allocations: 1.869 MB / 0.981 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1368, allocations: 7.984 kB / 0.981 GB, free: 11.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.139, allocations: 1.408 MB / 0.9823 GB, free: 9.656 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006503/0.1396, allocations: 392 kB / 0.9827 GB, free: 9.27 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.1398, allocations: 23.94 kB / 0.9827 GB, free: 9.246 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006342/0.1404, allocations: 79.92 kB / 0.9828 GB, free: 9.168 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.1405, allocations: 67.75 kB / 0.9829 GB, free: 9.102 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.557e-05/0.1406, allocations: 43.97 kB / 0.9829 GB, free: 9.059 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001335/0.1419, allocations: 1.096 MB / 0.984 GB, free: 7.949 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.21e-07/0.1419, allocations: 0 / 0.984 GB, free: 7.949 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001463/0.1434, allocations: 0.6042 MB / 0.9846 GB, free: 7.344 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 (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.000436/0.1438, allocations: 218.8 kB / 0.9848 GB, free: 7.117 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.1454, allocations: 0.7567 MB / 0.9855 GB, free: 6.359 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.1454, allocations: 4.062 kB / 0.9855 GB, free: 6.355 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007385/0.1461, allocations: 406.8 kB / 0.9859 GB, free: 5.953 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.1485, allocations: 0.9153 MB / 0.9868 GB, free: 5.051 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.1532, allocations: 3.391 MB / 0.9901 GB, free: 1.551 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1535, allocations: 374.6 kB / 0.9905 GB, free: 1.156 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001034/0.1545, allocations: 373.5 kB / 0.9908 GB, free: 0.793 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.1548, allocations: 144.5 kB / 0.991 GB, free: 0.6523 MB / 0.948 GB Notification: Performance of SimCode: time 1.913e-06/0.1548, allocations: 0 / 0.991 GB, free: 0.6523 MB / 0.948 GB Notification: Performance of Templates: time 0.04422/0.199, allocations: 36.07 MB / 1.026 GB, free: 13.44 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.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.357106697745621]