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.0009693/0.0009693, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001009/0.001009, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9398/0.9398, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.828/1.828, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.553e-06/1.553e-06, allocations: 0.875 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.834e-05, allocations: 9.344 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01514/0.01517, allocations: 18.71 MB / 0.8298 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00942/0.02459, allocations: 7.057 MB / 0.8367 GB, free: 7.941 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.02597, allocations: 99.12 kB / 0.8368 GB, free: 7.844 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0008531/0.02682, allocations: 440.5 kB / 0.8372 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.02993, allocations: 1.736 MB / 0.8389 GB, free: 5.664 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.03226, allocations: 1.552 MB / 0.8404 GB, free: 4.109 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00367/0.03593, allocations: 3.986 MB / 0.8443 GB, free: 108 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.03779, allocations: 1.173 MB / 0.8455 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.04058, allocations: 1.986 MB / 0.8474 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.04191, allocations: 0.9931 MB / 0.8484 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002974/0.04221, allocations: 168 kB / 0.8485 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.04326, allocations: 0.6512 MB / 0.8492 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.04355, allocations: 402.4 kB / 0.8496 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0006653/0.04421, allocations: 0.6002 MB / 0.8501 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.04616, allocations: 1.643 MB / 0.8517 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.04616, allocations: 0 / 0.8517 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.112e-06/0.04616, allocations: 0 / 0.8517 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.759e-05/0.0462, allocations: 0 / 0.8517 GB, free: 8.461 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.002479/0.04868, allocations: 2.026 MB / 0.8537 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.04872, allocations: 8.031 kB / 0.8537 GB, free: 6.375 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.0498, allocations: 475.4 kB / 0.8542 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.05167, allocations: 1.548 MB / 0.8557 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.05172, allocations: 82.03 kB / 0.8558 GB, free: 4.227 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.832e-05/0.05182, allocations: 104 kB / 0.8559 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.05313, allocations: 1.096 MB / 0.8569 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.05315, allocations: 0 / 0.8569 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/0.05322, allocations: 44 kB / 0.857 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.05324, allocations: 28 kB / 0.857 GB, free: 2.797 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000811/0.05405, allocations: 475.3 kB / 0.8575 GB, free: 2.332 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.004871/0.05892, allocations: 6.245 MB / 0.8636 GB, free: 11.91 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009563/0.05988, allocations: 445.9 kB / 0.864 GB, free: 11.46 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.06004, allocations: 113.1 kB / 0.8641 GB, free: 11.35 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.06019, allocations: 72.38 kB / 0.8642 GB, free: 11.28 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.06022, allocations: 49.88 kB / 0.8642 GB, free: 11.22 MB / 0.823 GB Notification: Performance of pre-optimization done (n=48): time 1.833e-06/0.06022, allocations: 0 / 0.8642 GB, free: 11.22 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.001567/0.06179, allocations: 0.7261 MB / 0.8649 GB, free: 10.49 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.06182, allocations: 55.91 kB / 0.865 GB, free: 10.42 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.06305, allocations: 1.054 MB / 0.866 GB, free: 9.359 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.06309, allocations: 37.7 kB / 0.866 GB, free: 9.316 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.06348, allocations: 0.7571 MB / 0.8668 GB, free: 8.551 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.568e-05/0.06357, allocations: 178.5 kB / 0.867 GB, free: 8.375 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.06376, allocations: 176.2 kB / 0.8671 GB, free: 8.195 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.06387, allocations: 0.5043 MB / 0.8676 GB, free: 7.684 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.06408, allocations: 105.9 kB / 0.8677 GB, free: 7.582 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.06456, allocations: 0.8482 MB / 0.8685 GB, free: 6.48 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/0.06514, allocations: 0.5998 MB / 0.8691 GB, free: 5.727 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.06514, allocations: 0 / 0.8691 GB, free: 5.727 MB / 0.823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009456/0.06609, allocations: 0.6957 MB / 0.8698 GB, free: 5.02 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.06611, allocations: 8.125 kB / 0.8698 GB, free: 5.012 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.06612, allocations: 12 kB / 0.8698 GB, free: 5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004703/0.06659, allocations: 175.5 kB / 0.87 GB, free: 4.824 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.06695, allocations: 175.7 kB / 0.8702 GB, free: 4.652 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004323/0.06739, allocations: 0.8741 MB / 0.871 GB, free: 3.746 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.06787, allocations: 143.4 kB / 0.8712 GB, free: 3.605 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/0.06792, allocations: 43.98 kB / 0.8712 GB, free: 3.562 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.0002236/0.06815, allocations: 208.2 kB / 0.8714 GB, free: 3.348 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.06828, allocations: 143.2 kB / 0.8715 GB, free: 3.207 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009485/0.06923, allocations: 0.7608 MB / 0.8723 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.06924, allocations: 15.92 kB / 0.8723 GB, free: 2.406 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.06924, allocations: 0 / 0.8723 GB, free: 2.406 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.06925, allocations: 0 / 0.8723 GB, free: 2.406 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.0716, allocations: 1.721 MB / 0.874 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.0716, allocations: 0 / 0.874 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.07178, allocations: 83.83 kB / 0.874 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003723/0.07215, allocations: 179.6 kB / 0.8742 GB, free: 368 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.07218, allocations: 12 kB / 0.8742 GB, free: 356 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005007/0.07268, allocations: 0.913 MB / 0.8751 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.07268, allocations: 4 kB / 0.8751 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.07377, allocations: 0.8398 MB / 0.8759 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.07403, allocations: 238.9 kB / 0.8762 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.484e-05/0.07412, allocations: 15.98 kB / 0.8762 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.07441, allocations: 35.97 kB / 0.8762 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.07448, allocations: 48.3 kB / 0.8763 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.07451, allocations: 27.98 kB / 0.8763 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006075/0.07512, allocations: 0.6443 MB / 0.8769 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.07512, allocations: 4 kB / 0.8769 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007128/0.07583, allocations: 387 kB / 0.8773 GB, free: 13.12 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.0003382/0.07617, allocations: 222.8 kB / 0.8775 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006969/0.07687, allocations: 435.5 kB / 0.8779 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.07687, allocations: 0 / 0.8779 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.07727, allocations: 253.6 kB / 0.8782 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.07838, allocations: 482.9 kB / 0.8786 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.08135, allocations: 2.062 MB / 0.8806 GB, free: 9.625 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.08151, allocations: 241.2 kB / 0.8809 GB, free: 9.367 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004975/0.082, allocations: 229.1 kB / 0.8811 GB, free: 9.141 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.08217, allocations: 96.47 kB / 0.8812 GB, free: 9.047 MB / 0.8386 GB Notification: Performance of SimCode: time 1.032e-06/0.08217, allocations: 0 / 0.8812 GB, free: 9.047 MB / 0.8386 GB Notification: Performance of Templates: time 0.02815/0.1103, allocations: 23.63 MB / 0.9043 GB, free: 1.902 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.581156633794308]