Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001464/0.001464, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.001614/0.001614, allocations: 167.9 kB / 24.86 MB, free: 8.891 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.9625/0.9625, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.747/1.747, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 3.938 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.28e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0136/0.01362, allocations: 18.31 MB / 0.8062 GB, free: 9.852 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008804/0.02242, allocations: 7.013 MB / 0.813 GB, free: 2.863 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.02371, allocations: 99.19 kB / 0.8131 GB, free: 2.766 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009217/0.02464, allocations: 440.5 kB / 0.8136 GB, free: 2.332 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003307/0.02794, allocations: 1.76 MB / 0.8153 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.03006, allocations: 1.563 MB / 0.8168 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003248/0.03331, allocations: 4.004 MB / 0.8207 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.03438, allocations: 1.177 MB / 0.8219 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.03632, allocations: 2.001 MB / 0.8238 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000969/0.03729, allocations: 1.013 MB / 0.8248 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.03745, allocations: 168 kB / 0.825 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.03856, allocations: 0.6512 MB / 0.8256 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.0388, allocations: 398.4 kB / 0.826 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000481/0.03928, allocations: 0.5962 MB / 0.8266 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.04086, allocations: 1.639 MB / 0.8282 GB, free: 3.309 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.04087, allocations: 0 / 0.8282 GB, free: 3.309 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.52e-07/0.04087, allocations: 3.938 kB / 0.8282 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.04088, allocations: 4 kB / 0.8282 GB, free: 3.301 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002023/0.04291, allocations: 2.042 MB / 0.8302 GB, free: 1.207 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.04294, allocations: 8.031 kB / 0.8302 GB, free: 1.199 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009922/0.04394, allocations: 471.5 kB / 0.8306 GB, free: 0.7383 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.04532, allocations: 1.529 MB / 0.8321 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/0.04537, allocations: 86.03 kB / 0.8322 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.71e-05/0.04547, allocations: 108 kB / 0.8323 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.04654, allocations: 1.025 MB / 0.8333 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.04656, allocations: 11.94 kB / 0.8333 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-05/0.04662, allocations: 43.98 kB / 0.8334 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.04664, allocations: 28 kB / 0.8334 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000501/0.04714, allocations: 389.3 kB / 0.8338 GB, free: 13.32 MB / 0.7917 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.004501/0.05164, allocations: 6.059 MB / 0.8397 GB, free: 7.086 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008119/0.05245, allocations: 413 kB / 0.8401 GB, free: 6.672 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.05257, allocations: 93.12 kB / 0.8402 GB, free: 6.578 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.05269, allocations: 64.41 kB / 0.8402 GB, free: 6.516 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.05272, allocations: 45.88 kB / 0.8403 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=48): time 2.094e-06/0.05272, allocations: 0 / 0.8403 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.001397/0.05412, allocations: 0.687 MB / 0.8409 GB, free: 5.766 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.05414, allocations: 59.91 kB / 0.841 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007978/0.05494, allocations: 1.014 MB / 0.842 GB, free: 4.672 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.05498, allocations: 37.7 kB / 0.842 GB, free: 4.629 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/0.05542, allocations: 0.7803 MB / 0.8428 GB, free: 3.84 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.05552, allocations: 182.5 kB / 0.8429 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.05571, allocations: 184.1 kB / 0.8431 GB, free: 3.473 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.05585, allocations: 0.5043 MB / 0.8436 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.05603, allocations: 89.92 kB / 0.8437 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.0565, allocations: 0.8427 MB / 0.8445 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.05696, allocations: 0.5685 MB / 0.8451 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.05696, allocations: 0 / 0.8451 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007853/0.05775, allocations: 0.6488 MB / 0.8457 GB, free: 396 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.05777, allocations: 8 kB / 0.8457 GB, free: 388 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.05778, allocations: 8 kB / 0.8457 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007083/0.05849, allocations: 191.5 kB / 0.8459 GB, free: 184 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.05883, allocations: 171.7 kB / 0.8461 GB, free: 12 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004253/0.05925, allocations: 0.8546 MB / 0.8469 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.05972, allocations: 139.4 kB / 0.847 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.05978, allocations: 39.92 kB / 0.8471 GB, free: 14.95 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002289/0.06001, allocations: 212.3 kB / 0.8473 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.06014, allocations: 135.2 kB / 0.8474 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008353/0.06098, allocations: 0.7216 MB / 0.8481 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.06099, allocations: 12.06 kB / 0.8481 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.06099, allocations: 11.88 kB / 0.8481 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.061, allocations: 11.92 kB / 0.8482 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.06279, allocations: 1.489 MB / 0.8496 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.0628, allocations: 4.188 kB / 0.8496 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.06296, allocations: 71.91 kB / 0.8497 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003474/0.0633, allocations: 163.5 kB / 0.8498 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.06333, allocations: 27.92 kB / 0.8499 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004788/0.06381, allocations: 0.8897 MB / 0.8507 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.06381, allocations: 3.938 kB / 0.8507 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009851/0.0648, allocations: 0.7928 MB / 0.8515 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.06505, allocations: 242.8 kB / 0.8517 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.06513, allocations: 12 kB / 0.8518 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.06543, allocations: 43.97 kB / 0.8518 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.06549, allocations: 48.34 kB / 0.8518 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.06552, allocations: 19.98 kB / 0.8519 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004437/0.06597, allocations: 0.5933 MB / 0.8524 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.06597, allocations: 0 / 0.8524 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006906/0.06666, allocations: 395 kB / 0.8528 GB, free: 8.902 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005889/0.06725, allocations: 230.8 kB / 0.853 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005313/0.06778, allocations: 399.5 kB / 0.8534 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.06778, allocations: 0 / 0.8534 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.06813, allocations: 233.5 kB / 0.8536 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.06922, allocations: 497.7 kB / 0.8541 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.07156, allocations: 2.035 MB / 0.8561 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.07171, allocations: 241.3 kB / 0.8563 GB, free: 5.199 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004203/0.07213, allocations: 197.3 kB / 0.8565 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006899/0.07282, allocations: 493.8 kB / 0.857 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of SimCode: time 7.21e-07/0.07282, allocations: 0 / 0.857 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of Templates: time 0.02705/0.09987, allocations: 23.9 MB / 0.8803 GB, free: 13.14 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.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: 5.381274116691202]