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.00186/0.00186, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.002236/0.002236, allocations: 173.4 kB / 24.06 MB, free: 456 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 1.242/1.242, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.178/2.178, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.693e-06/1.693e-06, allocations: 0 / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.025e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.02206/0.02208, allocations: 32.52 MB / 0.9112 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01721/0.03929, allocations: 10.77 MB / 0.9217 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006791/0.04609, allocations: 182.4 kB / 0.9218 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.003302/0.04939, allocations: 0.779 MB / 0.9226 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00844/0.05783, allocations: 2.707 MB / 0.9253 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.006503/0.06433, allocations: 2.704 MB / 0.9279 GB, free: 4.215 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01018/0.07451, allocations: 6.658 MB / 0.9344 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003587/0.0781, allocations: 1.896 MB / 0.9362 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007888/0.08599, allocations: 3.405 MB / 0.9396 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002963/0.08895, allocations: 1.577 MB / 0.9411 GB, free: 6.602 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0005098/0.08946, allocations: 244 kB / 0.9413 GB, free: 6.363 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.09131, allocations: 0.7137 MB / 0.942 GB, free: 5.648 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0006231/0.09193, allocations: 0.6456 MB / 0.9427 GB, free: 5 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.09356, allocations: 0.9936 MB / 0.9436 GB, free: 4.004 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003308/0.09687, allocations: 2.441 MB / 0.946 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.09688, allocations: 4 kB / 0.946 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.964e-06/0.09688, allocations: 4 kB / 0.946 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.306e-05/0.09693, allocations: 0 / 0.946 GB, free: 1.547 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.004317/0.1012, allocations: 3.309 MB / 0.9493 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1013, allocations: 16.03 kB / 0.9493 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.1032, allocations: 0.8534 MB / 0.9501 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.1056, allocations: 2.315 MB / 0.9524 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.56e-05/0.1057, allocations: 131 kB / 0.9525 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.1058, allocations: 176 kB / 0.9527 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.1075, allocations: 1.339 MB / 0.954 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.1075, allocations: 0 / 0.954 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.1077, allocations: 67.98 kB / 0.954 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.1077, allocations: 36 kB / 0.9541 GB, free: 9.047 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008044/0.1085, allocations: 0.5579 MB / 0.9546 GB, free: 8.488 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.006239/0.1147, allocations: 6.222 MB / 0.9607 GB, free: 2.113 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.1158, allocations: 0.628 MB / 0.9613 GB, free: 1.461 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.116, allocations: 171.2 kB / 0.9615 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-05/0.1161, allocations: 39.97 kB / 0.9615 GB, free: 1.246 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.1162, allocations: 45.39 kB / 0.9616 GB, free: 1.191 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=76): time 2.615e-06/0.1162, allocations: 0 / 0.9616 GB, free: 1.191 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.002674/0.1188, allocations: 1.272 MB / 0.9628 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.1189, allocations: 85.11 kB / 0.9629 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.1204, allocations: 1.782 MB / 0.9646 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/0.1204, allocations: 53.7 kB / 0.9647 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006573/0.1211, allocations: 1.209 MB / 0.9659 GB, free: 12.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.1213, allocations: 285.5 kB / 0.9661 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003197/0.1216, allocations: 332.2 kB / 0.9664 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1217, allocations: 0.5276 MB / 0.967 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/0.122, allocations: 170.5 kB / 0.9671 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008923/0.1229, allocations: 1.665 MB / 0.9687 GB, free: 9.195 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009168/0.1238, allocations: 1.13 MB / 0.9698 GB, free: 7.754 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.1238, allocations: 4 kB / 0.9699 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002671/0.1265, allocations: 1.468 MB / 0.9713 GB, free: 6.266 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1265, allocations: 12 kB / 0.9713 GB, free: 6.254 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.1266, allocations: 16 kB / 0.9713 GB, free: 6.238 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008098/0.1274, allocations: 414.9 kB / 0.9717 GB, free: 5.824 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.1279, allocations: 299.5 kB / 0.972 GB, free: 5.531 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009396/0.1289, allocations: 1.826 MB / 0.9738 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/0.1298, allocations: 250.9 kB / 0.974 GB, free: 3.395 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.399e-05/0.1299, allocations: 71.95 kB / 0.9741 GB, free: 3.324 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,8), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003901/0.1303, allocations: 248.1 kB / 0.9743 GB, free: 3.07 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.1306, allocations: 242.5 kB / 0.9746 GB, free: 2.832 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.1316, allocations: 0.877 MB / 0.9754 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.1317, allocations: 11.98 kB / 0.9754 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1317, allocations: 4 kB / 0.9754 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1317, allocations: 3.984 kB / 0.9754 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.1344, allocations: 2.242 MB / 0.9776 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.1344, allocations: 4 kB / 0.9776 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.1347, allocations: 108 kB / 0.9777 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007036/0.1354, allocations: 397.3 kB / 0.9781 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.1354, allocations: 31.91 kB / 0.9781 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009897/0.1364, allocations: 1.842 MB / 0.9799 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1364, allocations: 8.062 kB / 0.9799 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.1382, allocations: 1.338 MB / 0.9812 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/0.1386, allocations: 372.1 kB / 0.9816 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.1388, allocations: 23.94 kB / 0.9816 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.1394, allocations: 83.86 kB / 0.9817 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.1394, allocations: 51.84 kB / 0.9818 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.425e-05/0.1395, allocations: 43.95 kB / 0.9818 GB, free: 11.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007896/0.1403, allocations: 0.9867 MB / 0.9828 GB, free: 10.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1403, allocations: 4 kB / 0.9828 GB, free: 10.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001165/0.1414, allocations: 0.608 MB / 0.9834 GB, free: 9.531 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.00032/0.1417, allocations: 222.8 kB / 0.9836 GB, free: 9.301 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.1429, allocations: 0.7018 MB / 0.9843 GB, free: 8.598 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1429, allocations: 0 / 0.9843 GB, free: 8.598 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006095/0.1435, allocations: 374.8 kB / 0.9846 GB, free: 8.234 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.1456, allocations: 0.9176 MB / 0.9855 GB, free: 7.328 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/0.1496, allocations: 3.387 MB / 0.9888 GB, free: 3.828 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.1499, allocations: 378.6 kB / 0.9892 GB, free: 3.43 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008909/0.1507, allocations: 331.7 kB / 0.9895 GB, free: 3.105 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/0.152, allocations: 0.771 MB / 0.9902 GB, free: 2.332 MB / 0.948 GB Notification: Performance of SimCode: time 1.493e-06/0.152, allocations: 0 / 0.9902 GB, free: 2.332 MB / 0.948 GB Notification: Performance of Templates: time 0.04485/0.1968, allocations: 39.55 MB / 1.029 GB, free: 11.67 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.942100692074746]