Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.001341/0.001341, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.00166/0.00166, allocations: 165 kB / 23.82 MB, free: 0.7422 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 1.009/1.009, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.765/1.765, allocations: 377.8 MB / 0.6236 GB, free: 8.527 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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.53e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.0274/0.02743, allocations: 32.84 MB / 0.8436 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01387/0.04129, allocations: 9.644 MB / 0.853 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003014/0.04431, allocations: 174.5 kB / 0.8532 GB, free: 7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.04568, allocations: 0.7635 MB / 0.8539 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004215/0.0499, allocations: 2.657 MB / 0.8565 GB, free: 3.559 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003312/0.05321, allocations: 2.19 MB / 0.8587 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.005698/0.05891, allocations: 6.537 MB / 0.8651 GB, free: 10.81 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.06137, allocations: 1.903 MB / 0.8669 GB, free: 8.84 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004054/0.06542, allocations: 3.313 MB / 0.8702 GB, free: 5.543 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.06737, allocations: 1.558 MB / 0.8717 GB, free: 3.98 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004004/0.06777, allocations: 240 kB / 0.8719 GB, free: 3.746 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.0689, allocations: 0.7059 MB / 0.8726 GB, free: 3.039 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003798/0.06928, allocations: 0.6301 MB / 0.8732 GB, free: 2.406 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008014/0.07008, allocations: 0.9547 MB / 0.8741 GB, free: 1.449 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.07226, allocations: 2.367 MB / 0.8765 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.07226, allocations: 0 / 0.8765 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/0.07226, allocations: 0 / 0.8765 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.07229, allocations: 0 / 0.8765 GB, free: 15.07 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.003059/0.07535, allocations: 3.144 MB / 0.8795 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.07539, allocations: 8.031 kB / 0.8795 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.07719, allocations: 0.8419 MB / 0.8804 GB, free: 11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.0793, allocations: 2.211 MB / 0.8825 GB, free: 8.707 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-05/0.07938, allocations: 123 kB / 0.8826 GB, free: 8.586 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.07953, allocations: 164 kB / 0.8828 GB, free: 8.426 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.0814, allocations: 1.43 MB / 0.8842 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.08142, allocations: 4 kB / 0.8842 GB, free: 6.891 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.904e-05/0.08152, allocations: 60 kB / 0.8842 GB, free: 6.832 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/0.08155, allocations: 40 kB / 0.8843 GB, free: 6.793 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.0827, allocations: 0.6946 MB / 0.885 GB, free: 6.098 MB / 0.8386 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.005939/0.08864, allocations: 6.433 MB / 0.8912 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.08991, allocations: 0.6725 MB / 0.8919 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.09018, allocations: 199.3 kB / 0.8921 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.09028, allocations: 43.97 kB / 0.8921 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.09031, allocations: 41.39 kB / 0.8922 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=76): time 2.545e-06/0.09031, allocations: 0 / 0.8922 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76): time 0.002753/0.09307, allocations: 1.343 MB / 0.8935 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.0931, allocations: 85.11 kB / 0.8936 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.09469, allocations: 1.698 MB / 0.8952 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/0.09475, allocations: 45.7 kB / 0.8953 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006386/0.09539, allocations: 1.143 MB / 0.8964 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.09556, allocations: 289.5 kB / 0.8967 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.09584, allocations: 252.4 kB / 0.8969 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.09597, allocations: 0.516 MB / 0.8974 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.0963, allocations: 170.5 kB / 0.8976 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007401/0.09704, allocations: 1.351 MB / 0.8989 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007722/0.09781, allocations: 0.755 MB / 0.8996 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.09782, allocations: 4 kB / 0.8996 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002435/0.1003, allocations: 1.295 MB / 0.9009 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.1003, allocations: 8 kB / 0.9009 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.1003, allocations: 8 kB / 0.9009 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008342/0.1011, allocations: 417.3 kB / 0.9013 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.1016, allocations: 231.7 kB / 0.9015 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009667/0.1026, allocations: 1.83 MB / 0.9033 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007606/0.1033, allocations: 211.1 kB / 0.9035 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-05/0.1034, allocations: 63.95 kB / 0.9036 GB, free: 2.094 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003126/0.1037, allocations: 224.2 kB / 0.9038 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.104, allocations: 242.6 kB / 0.904 GB, free: 1.625 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.1052, allocations: 0.9367 MB / 0.9049 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.1052, allocations: 19.92 kB / 0.905 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1052, allocations: 0 / 0.905 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1052, allocations: 7.984 kB / 0.905 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.1082, allocations: 2.55 MB / 0.9074 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.1082, allocations: 4 kB / 0.9075 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.1084, allocations: 120.2 kB / 0.9076 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007072/0.1091, allocations: 405.7 kB / 0.908 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/0.1092, allocations: 23.98 kB / 0.908 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.1102, allocations: 1.877 MB / 0.9098 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1102, allocations: 0 / 0.9098 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.112, allocations: 1.395 MB / 0.9112 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/0.1125, allocations: 376.1 kB / 0.9115 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.1126, allocations: 23.94 kB / 0.9116 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005318/0.1131, allocations: 71.94 kB / 0.9116 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.1132, allocations: 55.89 kB / 0.9117 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.1132, allocations: 43.97 kB / 0.9117 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009828/0.1142, allocations: 1.018 MB / 0.9127 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.1142, allocations: 0 / 0.9127 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009494/0.1152, allocations: 0.5962 MB / 0.9133 GB, free: 7.828 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003207/0.1155, allocations: 218.7 kB / 0.9135 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.1166, allocations: 0.6605 MB / 0.9141 GB, free: 6.945 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1166, allocations: 0 / 0.9141 GB, free: 6.945 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006661/0.1173, allocations: 403.6 kB / 0.9145 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.1193, allocations: 0.9169 MB / 0.9154 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.123, allocations: 3.244 MB / 0.9186 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1232, allocations: 358.2 kB / 0.9189 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007558/0.124, allocations: 349.5 kB / 0.9193 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.1242, allocations: 140.5 kB / 0.9194 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of SimCode: time 1.173e-06/0.1242, allocations: 0 / 0.9194 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of Templates: time 0.04179/0.166, allocations: 38 MB / 0.9565 GB, free: 12.31 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.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.82046859478578]