Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001201/0.001201, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001716/0.001716, allocations: 185.3 kB / 24.09 MB, free: 416 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.041/1.041, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.824/1.824, allocations: 377.9 MB / 0.624 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.442e-05, allocations: 2.312 kB / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01392/0.01394, allocations: 18.42 MB / 0.83 GB, free: 15 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.008762/0.0227, allocations: 7.009 MB / 0.8368 GB, free: 8.02 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009473/0.02365, allocations: 95.19 kB / 0.8369 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0007295/0.02438, allocations: 440.5 kB / 0.8373 GB, free: 7.492 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.02655, allocations: 1.744 MB / 0.839 GB, free: 5.738 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.02832, allocations: 1.558 MB / 0.8406 GB, free: 4.18 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002785/0.03111, allocations: 3.979 MB / 0.8444 GB, free: 188 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009717/0.03208, allocations: 1.189 MB / 0.8456 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.03383, allocations: 1.979 MB / 0.8475 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009599/0.03479, allocations: 0.9892 MB / 0.8485 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.03497, allocations: 168 kB / 0.8487 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008926/0.03586, allocations: 0.6512 MB / 0.8493 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004895/0.03635, allocations: 402.4 kB / 0.8497 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.000478/0.03683, allocations: 0.5962 MB / 0.8503 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.03848, allocations: 1.639 MB / 0.8519 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.03849, allocations: 3.984 kB / 0.8519 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.172e-06/0.03849, allocations: 0 / 0.8519 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.0385, allocations: 4 kB / 0.8519 GB, free: 8.531 MB / 0.8073 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.001897/0.0404, allocations: 2.038 MB / 0.8539 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.04043, allocations: 12.03 kB / 0.8539 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009205/0.04135, allocations: 475.5 kB / 0.8543 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.04263, allocations: 1.529 MB / 0.8558 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.502e-05/0.04269, allocations: 82.03 kB / 0.8559 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-05/0.04279, allocations: 104 kB / 0.856 GB, free: 4.199 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.04384, allocations: 1.037 MB / 0.857 GB, free: 3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.04386, allocations: 3.938 kB / 0.857 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/0.04392, allocations: 48 kB / 0.8571 GB, free: 2.949 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.04394, allocations: 24 kB / 0.8571 GB, free: 2.926 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.04445, allocations: 389.3 kB / 0.8575 GB, free: 2.547 MB / 0.8073 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.00436/0.04881, allocations: 6.067 MB / 0.8634 GB, free: 12.31 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007969/0.04961, allocations: 414.2 kB / 0.8638 GB, free: 11.89 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.04972, allocations: 101.1 kB / 0.8639 GB, free: 11.79 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.04985, allocations: 71.2 kB / 0.8639 GB, free: 11.73 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.04988, allocations: 45.88 kB / 0.864 GB, free: 11.67 MB / 0.823 GB Notification: Performance of pre-optimization done (n=48): time 1.683e-06/0.04988, allocations: 0 / 0.864 GB, free: 11.67 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.001332/0.05121, allocations: 0.6792 MB / 0.8647 GB, free: 10.98 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.05124, allocations: 59.91 kB / 0.8647 GB, free: 10.91 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008117/0.05205, allocations: 1.022 MB / 0.8657 GB, free: 9.883 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.05209, allocations: 37.7 kB / 0.8657 GB, free: 9.84 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.05248, allocations: 0.7764 MB / 0.8665 GB, free: 9.055 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.171e-05/0.05258, allocations: 182.4 kB / 0.8667 GB, free: 8.875 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.05275, allocations: 188.1 kB / 0.8669 GB, free: 8.684 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.05286, allocations: 0.5081 MB / 0.8674 GB, free: 8.168 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.05302, allocations: 93.86 kB / 0.8674 GB, free: 8.078 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.05346, allocations: 0.8388 MB / 0.8683 GB, free: 6.98 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.05389, allocations: 0.5607 MB / 0.8688 GB, free: 6.266 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.0539, allocations: 4 kB / 0.8688 GB, free: 6.262 MB / 0.823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007438/0.05464, allocations: 0.6527 MB / 0.8694 GB, free: 5.602 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.05466, allocations: 11.94 kB / 0.8695 GB, free: 5.59 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.05467, allocations: 8 kB / 0.8695 GB, free: 5.582 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003973/0.05507, allocations: 179.6 kB / 0.8696 GB, free: 5.402 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.05539, allocations: 175.7 kB / 0.8698 GB, free: 5.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006304/0.05602, allocations: 0.8624 MB / 0.8706 GB, free: 4.336 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.05646, allocations: 135.4 kB / 0.8708 GB, free: 4.203 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/0.05651, allocations: 39.92 kB / 0.8708 GB, free: 4.164 MB / 0.823 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.0002002/0.05671, allocations: 216.2 kB / 0.871 GB, free: 3.941 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.05683, allocations: 143.2 kB / 0.8712 GB, free: 3.801 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008047/0.05764, allocations: 0.7178 MB / 0.8719 GB, free: 3.059 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.05765, allocations: 4 kB / 0.8719 GB, free: 3.055 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.05765, allocations: 7.922 kB / 0.8719 GB, free: 3.047 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.05766, allocations: 0 / 0.8719 GB, free: 3.047 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.05935, allocations: 1.504 MB / 0.8733 GB, free: 1.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.05936, allocations: 4.062 kB / 0.8733 GB, free: 1.477 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.05951, allocations: 80.09 kB / 0.8734 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003222/0.05983, allocations: 163.5 kB / 0.8736 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.05985, allocations: 23.92 kB / 0.8736 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004417/0.0603, allocations: 0.9014 MB / 0.8745 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.0603, allocations: 0 / 0.8745 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009264/0.06122, allocations: 0.7967 MB / 0.8753 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.06146, allocations: 234.9 kB / 0.8755 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.06153, allocations: 16 kB / 0.8755 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.0618, allocations: 39.97 kB / 0.8755 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.06185, allocations: 44.36 kB / 0.8756 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.06189, allocations: 27.98 kB / 0.8756 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004052/0.06229, allocations: 0.5894 MB / 0.8762 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.06229, allocations: 3.938 kB / 0.8762 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006073/0.0629, allocations: 395 kB / 0.8766 GB, free: 14.09 MB / 0.8386 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.0002844/0.06318, allocations: 225.2 kB / 0.8768 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007539/0.06394, allocations: 391.8 kB / 0.8771 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.06394, allocations: 4 kB / 0.8772 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.06426, allocations: 229.3 kB / 0.8774 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.06527, allocations: 490.3 kB / 0.8778 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.06744, allocations: 2.038 MB / 0.8798 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.06759, allocations: 249.2 kB / 0.8801 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004002/0.06799, allocations: 197.3 kB / 0.8803 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006526/0.06864, allocations: 489.8 kB / 0.8807 GB, free: 9.734 MB / 0.8386 GB Notification: Performance of SimCode: time 1.042e-06/0.06864, allocations: 0 / 0.8807 GB, free: 9.734 MB / 0.8386 GB Notification: Performance of Templates: time 0.02524/0.09388, allocations: 23.57 MB / 0.9037 GB, free: 2.688 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.312947330065072]