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.001412/0.001412, allocations: 80.94 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.001863/0.001863, allocations: 177 kB / 23.36 MB, free: 1.133 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.9837/0.9837, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.382/2.382, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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.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.182e-06/1.182e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.917e-05, allocations: 5.406 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.02357/0.02359, allocations: 32.55 MB / 0.8704 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.03996, allocations: 11.06 MB / 0.8812 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00348/0.04344, allocations: 186.4 kB / 0.8813 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.04513, allocations: 0.7829 MB / 0.8821 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.005577/0.0507, allocations: 2.696 MB / 0.8847 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004364/0.05507, allocations: 2.713 MB / 0.8874 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00719/0.06226, allocations: 6.65 MB / 0.8939 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/0.06465, allocations: 1.92 MB / 0.8958 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004713/0.06937, allocations: 3.409 MB / 0.8991 GB, free: 16 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.07101, allocations: 1.507 MB / 0.9006 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002878/0.0713, allocations: 244 kB / 0.9008 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.0724, allocations: 0.7177 MB / 0.9015 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004205/0.07282, allocations: 0.6456 MB / 0.9021 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.07386, allocations: 0.9975 MB / 0.9031 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.07679, allocations: 2.437 MB / 0.9055 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.07679, allocations: 8 kB / 0.9055 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.272e-06/0.07679, allocations: 4 kB / 0.9055 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.443e-05/0.07683, allocations: 0 / 0.9055 GB, free: 9.441 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.003418/0.08025, allocations: 3.136 MB / 0.9086 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.08028, allocations: 16.62 kB / 0.9086 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.08187, allocations: 0.7183 MB / 0.9093 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.084, allocations: 1.625 MB / 0.9109 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.091e-05/0.08409, allocations: 135 kB / 0.911 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003542/0.08445, allocations: 176 kB / 0.9112 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.0859, allocations: 1.322 MB / 0.9124 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.08593, allocations: 7.938 kB / 0.9125 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.798e-05/0.08602, allocations: 64 kB / 0.9125 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.08604, allocations: 36 kB / 0.9126 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007006/0.08674, allocations: 0.509 MB / 0.913 GB, free: 1.457 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.0059/0.09264, allocations: 4.562 MB / 0.9175 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.09394, allocations: 0.6619 MB / 0.9182 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.09412, allocations: 159.3 kB / 0.9183 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.09423, allocations: 35.98 kB / 0.9183 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.09426, allocations: 42.56 kB / 0.9184 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.597e-06/0.09426, allocations: 0 / 0.9184 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.002346/0.0966, allocations: 1.051 MB / 0.9194 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.09664, allocations: 92.8 kB / 0.9195 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.09821, allocations: 1.695 MB / 0.9211 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-05/0.09829, allocations: 49.7 kB / 0.9212 GB, free: 8.887 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.09869, allocations: 0.8095 MB / 0.922 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.09887, allocations: 289.5 kB / 0.9223 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.09914, allocations: 302.6 kB / 0.9225 GB, free: 7.473 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.09923, allocations: 357.8 kB / 0.9229 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.09955, allocations: 177.3 kB / 0.9231 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00078/0.1003, allocations: 1.415 MB / 0.9244 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.1014, allocations: 0.9532 MB / 0.9254 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.1014, allocations: 8 kB / 0.9254 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002184/0.1036, allocations: 1.247 MB / 0.9266 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1036, allocations: 12 kB / 0.9266 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.1036, allocations: 16 kB / 0.9266 GB, free: 2.613 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008144/0.1045, allocations: 395.9 kB / 0.927 GB, free: 2.227 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/0.105, allocations: 295.5 kB / 0.9273 GB, free: 1.938 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007508/0.1058, allocations: 1.257 MB / 0.9285 GB, free: 0.6289 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009542/0.1067, allocations: 254.9 kB / 0.9288 GB, free: 388 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.15e-05/0.1068, allocations: 63.95 kB / 0.9288 GB, free: 324 kB / 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.0004223/0.1072, allocations: 208.2 kB / 0.929 GB, free: 104 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.1074, allocations: 139.8 kB / 0.9291 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.1086, allocations: 0.7463 MB / 0.9299 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.1086, allocations: 11.98 kB / 0.9299 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1086, allocations: 4 kB / 0.9299 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1086, allocations: 3.984 kB / 0.9299 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.1114, allocations: 1.929 MB / 0.9318 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.1114, allocations: 0 / 0.9318 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.1117, allocations: 116.2 kB / 0.9319 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007025/0.1124, allocations: 385.1 kB / 0.9323 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.1124, allocations: 23.98 kB / 0.9323 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007696/0.1132, allocations: 1.27 MB / 0.9335 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.1132, allocations: 7.938 kB / 0.9335 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.1146, allocations: 1.114 MB / 0.9346 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000444/0.1151, allocations: 272.9 kB / 0.9349 GB, free: 9.863 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.1152, allocations: 19.95 kB / 0.9349 GB, free: 9.844 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.1157, allocations: 75.94 kB / 0.935 GB, free: 9.77 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.1158, allocations: 63.77 kB / 0.935 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.1159, allocations: 35.97 kB / 0.9351 GB, free: 9.672 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000731/0.1166, allocations: 0.8657 MB / 0.9359 GB, free: 8.789 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1166, allocations: 0 / 0.9359 GB, free: 8.789 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001198/0.1178, allocations: 0.6081 MB / 0.9365 GB, free: 8.18 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.0003206/0.1181, allocations: 195.9 kB / 0.9367 GB, free: 7.98 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.1192, allocations: 0.6729 MB / 0.9373 GB, free: 7.309 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-05/0.1192, allocations: 24.5 kB / 0.9374 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005348/0.1197, allocations: 344.4 kB / 0.9377 GB, free: 6.949 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/0.1219, allocations: 0.9172 MB / 0.9386 GB, free: 6.043 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/0.1261, allocations: 3.349 MB / 0.9419 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1264, allocations: 370.6 kB / 0.9422 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001152/0.1276, allocations: 339.8 kB / 0.9425 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/0.1288, allocations: 0.6649 MB / 0.9432 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of SimCode: time 1.784e-06/0.1288, allocations: 0 / 0.9432 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of Templates: time 0.04997/0.1788, allocations: 38.96 MB / 0.9812 GB, free: 11.15 MB / 0.948 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.3080306658521295]