Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009216/0.0009216, allocations: 80.75 kB / 20 MB, free: 4.445 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.001023/0.001023, allocations: 161 kB / 23.43 MB, free: 1.023 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.952/0.952, allocations: 177.1 MB / 203.9 MB, free: 5.445 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.32/2.32, allocations: 438.8 MB / 0.6827 GB, free: 13.56 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.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_latest_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_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.8388 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.829e-05, allocations: 2.312 kB / 0.8388 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.02059/0.02062, allocations: 18.63 MB / 0.857 GB, free: 11.37 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.03545, allocations: 8.198 MB / 0.865 GB, free: 3.145 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.0381, allocations: 103.1 kB / 0.8651 GB, free: 3.043 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.0395, allocations: 452.3 kB / 0.8655 GB, free: 2.598 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.04427, allocations: 1.756 MB / 0.8672 GB, free: 0.832 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004184/0.04846, allocations: 1.915 MB / 0.8691 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.005658/0.05411, allocations: 4.063 MB / 0.873 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/0.0566, allocations: 1.183 MB / 0.8742 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004099/0.0607, allocations: 1.967 MB / 0.8761 GB, free: 7.664 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.0624, allocations: 0.954 MB / 0.8771 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0003728/0.06277, allocations: 180 kB / 0.8772 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.06421, allocations: 0.6785 MB / 0.8779 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003866/0.0646, allocations: 414.3 kB / 0.8783 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0009911/0.06559, allocations: 0.6119 MB / 0.8789 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002676/0.06827, allocations: 1.682 MB / 0.8805 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.06827, allocations: 0 / 0.8805 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/0.06827, allocations: 4 kB / 0.8805 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.46e-05/0.06833, allocations: 7.938 kB / 0.8805 GB, free: 3.133 MB / 0.8386 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.002997/0.07133, allocations: 1.967 MB / 0.8825 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.07137, allocations: 12.03 kB / 0.8825 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.07255, allocations: 400.2 kB / 0.8829 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.07437, allocations: 1.02 MB / 0.8838 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.215e-05/0.07444, allocations: 86.03 kB / 0.8839 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.07457, allocations: 112 kB / 0.884 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.07593, allocations: 0.9864 MB / 0.885 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.07596, allocations: 3.938 kB / 0.885 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/0.07603, allocations: 44 kB / 0.885 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.07606, allocations: 24 kB / 0.8851 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/0.07677, allocations: 356.3 kB / 0.8854 GB, free: 13.91 MB / 0.8542 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.0053/0.08207, allocations: 4.302 MB / 0.8896 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.08311, allocations: 414.1 kB / 0.89 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.08327, allocations: 89.16 kB / 0.8901 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.08345, allocations: 64.45 kB / 0.8902 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.08348, allocations: 39.06 kB / 0.8902 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 6.453e-06/0.08349, allocations: 4 kB / 0.8902 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.001647/0.08513, allocations: 0.5609 MB / 0.8907 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.08516, allocations: 55.91 kB / 0.8908 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.08633, allocations: 1.027 MB / 0.8918 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.08637, allocations: 45.7 kB / 0.8918 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.08672, allocations: 0.5652 MB / 0.8924 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.08684, allocations: 178.5 kB / 0.8926 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.0871, allocations: 198.5 kB / 0.8928 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.0872, allocations: 345.8 kB / 0.8931 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.08747, allocations: 104.7 kB / 0.8932 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/0.08807, allocations: 0.8426 MB / 0.894 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.08874, allocations: 0.6327 MB / 0.8946 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.08875, allocations: 4 kB / 0.8946 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0009538/0.0897, allocations: 0.5982 MB / 0.8952 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.08973, allocations: 11.94 kB / 0.8952 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.08974, allocations: 12.66 kB / 0.8952 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005431/0.09029, allocations: 180.6 kB / 0.8954 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.09084, allocations: 215.6 kB / 0.8956 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004001/0.09124, allocations: 0.5952 MB / 0.8962 GB, free: 2.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007406/0.09198, allocations: 147.3 kB / 0.8963 GB, free: 2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.294e-05/0.09208, allocations: 51.91 kB / 0.8964 GB, free: 1.949 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (101): * Single equations (assignments): 100 * 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.0002956/0.09237, allocations: 180.3 kB / 0.8966 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.09251, allocations: 91.89 kB / 0.8966 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.09354, allocations: 0.6345 MB / 0.8973 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.09355, allocations: 7.984 kB / 0.8973 GB, free: 1.012 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.09356, allocations: 7.938 kB / 0.8973 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.09356, allocations: 3.984 kB / 0.8973 GB, free: 1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.096, allocations: 1.308 MB / 0.8986 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.096, allocations: 4 kB / 0.8986 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.09626, allocations: 79.89 kB / 0.8986 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000481/0.09674, allocations: 164.8 kB / 0.8988 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-05/0.09678, allocations: 23.92 kB / 0.8988 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005306/0.09731, allocations: 0.6069 MB / 0.8994 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.09731, allocations: 3.938 kB / 0.8994 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.09852, allocations: 0.6573 MB / 0.9001 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.0989, allocations: 170.9 kB / 0.9002 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.09903, allocations: 20 kB / 0.9002 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.09946, allocations: 43.95 kB / 0.9003 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.09954, allocations: 44.36 kB / 0.9003 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.09959, allocations: 19.98 kB / 0.9003 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006364/0.1002, allocations: 0.502 MB / 0.9008 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.61e-07/0.1002, allocations: 0 / 0.9008 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001282/0.1015, allocations: 415 kB / 0.9012 GB, free: 12.82 MB / 0.8698 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.0004164/0.1019, allocations: 213.9 kB / 0.9014 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008433/0.1028, allocations: 413.2 kB / 0.9018 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.164e-05/0.1028, allocations: 20.5 kB / 0.9018 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.1032, allocations: 207.8 kB / 0.902 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.1047, allocations: 489.9 kB / 0.9025 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/0.1086, allocations: 2.105 MB / 0.9046 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1088, allocations: 237.5 kB / 0.9048 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008426/0.1096, allocations: 209.8 kB / 0.905 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000971/0.1106, allocations: 431 kB / 0.9054 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/0.1106, allocations: 0 / 0.9054 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of Templates: time 0.03109/0.1417, allocations: 24.09 MB / 0.9289 GB, free: 0.8828 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.656505262479186]