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.001465/0.001465, allocations: 81.86 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.001811/0.001811, allocations: 181 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 0.9878/0.9878, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.768/1.768, allocations: 359 MB / 0.6055 GB, free: 10.88 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.954e-06/1.954e-06, allocations: 0 / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.994e-05, allocations: 5.438 kB / 0.7875 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01514/0.01517, allocations: 18.32 MB / 0.8054 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.02535, allocations: 7.02 MB / 0.8123 GB, free: 2.832 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/0.02749, allocations: 99.12 kB / 0.8124 GB, free: 2.734 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.02855, allocations: 440.5 kB / 0.8128 GB, free: 2.301 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003939/0.03249, allocations: 1.756 MB / 0.8145 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.0353, allocations: 1.569 MB / 0.816 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00474/0.04004, allocations: 4.001 MB / 0.82 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/0.04216, allocations: 1.185 MB / 0.8211 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003022/0.04519, allocations: 1.996 MB / 0.8231 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.04637, allocations: 1.005 MB / 0.824 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.0466, allocations: 168 kB / 0.8242 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.04769, allocations: 0.6512 MB / 0.8248 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.04795, allocations: 402.4 kB / 0.8252 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005627/0.04851, allocations: 0.5884 MB / 0.8258 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.05056, allocations: 1.647 MB / 0.8274 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.05057, allocations: 4 kB / 0.8274 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.05057, allocations: 0 / 0.8274 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.478e-05/0.0506, allocations: 0 / 0.8274 GB, free: 3.273 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.002394/0.053, allocations: 2.046 MB / 0.8294 GB, free: 1.176 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.05303, allocations: 8.031 kB / 0.8294 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.05405, allocations: 475.4 kB / 0.8299 GB, free: 0.7031 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.05562, allocations: 1.529 MB / 0.8314 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/0.05567, allocations: 78.03 kB / 0.8314 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.05579, allocations: 104 kB / 0.8315 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.05694, allocations: 1.041 MB / 0.8325 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.05696, allocations: 4 kB / 0.8326 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.895e-05/0.05701, allocations: 40 kB / 0.8326 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.05703, allocations: 31.94 kB / 0.8326 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005205/0.05755, allocations: 389.3 kB / 0.833 GB, free: 13.29 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.004708/0.06226, allocations: 6.063 MB / 0.8389 GB, free: 7.051 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007924/0.06305, allocations: 412.6 kB / 0.8393 GB, free: 6.637 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.06317, allocations: 97.12 kB / 0.8394 GB, free: 6.539 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.06331, allocations: 76 kB / 0.8395 GB, free: 6.473 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.06334, allocations: 45.89 kB / 0.8395 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=48): time 1.774e-06/0.06334, allocations: 0 / 0.8395 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.00139/0.06473, allocations: 0.6909 MB / 0.8402 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.06476, allocations: 59.89 kB / 0.8402 GB, free: 5.648 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008403/0.0656, allocations: 1.018 MB / 0.8412 GB, free: 4.621 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.06563, allocations: 41.7 kB / 0.8413 GB, free: 4.574 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.06604, allocations: 0.7764 MB / 0.842 GB, free: 3.789 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.06614, allocations: 182.5 kB / 0.8422 GB, free: 3.609 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.06631, allocations: 180.1 kB / 0.8424 GB, free: 3.426 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.06643, allocations: 0.5081 MB / 0.8429 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.0666, allocations: 93.92 kB / 0.843 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.06705, allocations: 0.8426 MB / 0.8438 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/0.06777, allocations: 0.5646 MB / 0.8443 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.06777, allocations: 0 / 0.8443 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007827/0.06855, allocations: 0.6563 MB / 0.845 GB, free: 336 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.06857, allocations: 8 kB / 0.845 GB, free: 328 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.06858, allocations: 8 kB / 0.845 GB, free: 320 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004246/0.06901, allocations: 179.9 kB / 0.8452 GB, free: 136 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.06935, allocations: 175.7 kB / 0.8453 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003885/0.06973, allocations: 0.8585 MB / 0.8462 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.07024, allocations: 139.4 kB / 0.8463 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.0703, allocations: 43.92 kB / 0.8464 GB, free: 14.89 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.0002437/0.07055, allocations: 208.3 kB / 0.8466 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.07068, allocations: 139.2 kB / 0.8467 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008492/0.07153, allocations: 0.7218 MB / 0.8474 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.07154, allocations: 12 kB / 0.8474 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.07154, allocations: 3.938 kB / 0.8474 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.07155, allocations: 3.984 kB / 0.8474 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.07344, allocations: 1.489 MB / 0.8489 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.07345, allocations: 4 kB / 0.8489 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.0736, allocations: 75.89 kB / 0.8489 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/0.07399, allocations: 171.7 kB / 0.8491 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.07402, allocations: 23.86 kB / 0.8491 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004998/0.07452, allocations: 0.8858 MB / 0.85 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.07452, allocations: 8.031 kB / 0.85 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009689/0.07549, allocations: 0.7889 MB / 0.8508 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.0758, allocations: 246.8 kB / 0.851 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-05/0.07588, allocations: 12 kB / 0.851 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.07616, allocations: 43.97 kB / 0.8511 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.07622, allocations: 44.36 kB / 0.8511 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.07626, allocations: 19.98 kB / 0.8511 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001332/0.07759, allocations: 0.5932 MB / 0.8517 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.41e-07/0.07759, allocations: 0 / 0.8517 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001422/0.07901, allocations: 399 kB / 0.8521 GB, free: 8.848 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.0006293/0.07964, allocations: 222.8 kB / 0.8523 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.08068, allocations: 399.8 kB / 0.8527 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.08068, allocations: 0 / 0.8527 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005743/0.08126, allocations: 236.9 kB / 0.8529 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.08341, allocations: 496.6 kB / 0.8534 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.08783, allocations: 2.04 MB / 0.8554 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.0881, allocations: 241.3 kB / 0.8556 GB, free: 5.145 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0009315/0.08903, allocations: 205.2 kB / 0.8558 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.09011, allocations: 481.8 kB / 0.8562 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of SimCode: time 2.235e-06/0.09012, allocations: 0 / 0.8562 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of Templates: time 0.05058/0.1407, allocations: 23.56 MB / 0.8793 GB, free: 13.43 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.599098187871277]