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.0009157/0.0009157, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.0009365/0.0009365, allocations: 177 kB / 24.08 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.014/1.014, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.82/1.82, 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.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 1.714e-06/1.714e-06, allocations: 0 / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.128e-05, allocations: 2.312 kB / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.02286/0.02288, allocations: 32.25 MB / 0.8435 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01525/0.03813, allocations: 9.605 MB / 0.8529 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003657/0.04179, allocations: 174.5 kB / 0.853 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.04388, allocations: 0.7636 MB / 0.8538 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.005951/0.04983, allocations: 2.657 MB / 0.8564 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.004452/0.05428, allocations: 2.197 MB / 0.8585 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.008511/0.0628, allocations: 6.527 MB / 0.8649 GB, free: 11.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003391/0.06619, allocations: 1.907 MB / 0.8668 GB, free: 9.223 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006128/0.07231, allocations: 3.31 MB / 0.87 GB, free: 5.93 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/0.0749, allocations: 1.565 MB / 0.8715 GB, free: 4.359 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005914/0.07549, allocations: 236 kB / 0.8718 GB, free: 4.129 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.07706, allocations: 0.7059 MB / 0.8724 GB, free: 3.422 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005039/0.07757, allocations: 0.6301 MB / 0.8731 GB, free: 2.789 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001495/0.07906, allocations: 0.9585 MB / 0.874 GB, free: 1.828 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003049/0.08211, allocations: 2.367 MB / 0.8763 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.08212, allocations: 0 / 0.8763 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.08212, allocations: 0 / 0.8763 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.926e-05/0.08216, allocations: 0 / 0.8763 GB, free: 15.45 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.003365/0.08552, allocations: 3.175 MB / 0.8794 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.08556, allocations: 8.031 kB / 0.8794 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.08742, allocations: 0.8458 MB / 0.8802 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.08967, allocations: 2.176 MB / 0.8824 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.308e-05/0.08975, allocations: 123 kB / 0.8825 GB, free: 8.961 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.0899, allocations: 164 kB / 0.8826 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.09151, allocations: 1.324 MB / 0.8839 GB, free: 7.375 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.09154, allocations: 7.938 kB / 0.8839 GB, free: 7.367 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-05/0.09163, allocations: 60 kB / 0.884 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.09165, allocations: 40 kB / 0.884 GB, free: 7.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007657/0.09242, allocations: 0.5579 MB / 0.8846 GB, free: 6.711 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.006126/0.09854, allocations: 6.131 MB / 0.8906 GB, free: 440 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.09974, allocations: 0.6161 MB / 0.8912 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.09994, allocations: 171.2 kB / 0.8913 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.1001, allocations: 52.92 kB / 0.8914 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1001, allocations: 41.39 kB / 0.8914 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=76): time 3.496e-06/0.1001, allocations: 4 kB / 0.8914 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76): time 0.002617/0.1027, allocations: 1.253 MB / 0.8927 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.1028, allocations: 92.98 kB / 0.8927 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.1042, allocations: 1.639 MB / 0.8943 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.892e-05/0.1043, allocations: 45.7 kB / 0.8944 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006741/0.1049, allocations: 1.162 MB / 0.8955 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.1051, allocations: 293.5 kB / 0.8958 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.1054, allocations: 256.3 kB / 0.896 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1055, allocations: 0.5198 MB / 0.8966 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.1058, allocations: 146.5 kB / 0.8967 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007071/0.1065, allocations: 1.335 MB / 0.898 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/0.1072, allocations: 0.7276 MB / 0.8987 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1072, allocations: 4 kB / 0.8987 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002323/0.1095, allocations: 1.245 MB / 0.8999 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1095, allocations: 8 kB / 0.8999 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.1096, allocations: 12 kB / 0.8999 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007792/0.1103, allocations: 403.5 kB / 0.9003 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.1108, allocations: 231.6 kB / 0.9006 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008977/0.1117, allocations: 1.805 MB / 0.9023 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008678/0.1126, allocations: 211.4 kB / 0.9025 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/0.1127, allocations: 59.94 kB / 0.9026 GB, free: 3.371 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,8), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004033/0.1131, allocations: 224.3 kB / 0.9028 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.1133, allocations: 234.6 kB / 0.903 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.1144, allocations: 0.8779 MB / 0.9039 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.1144, allocations: 16 kB / 0.9039 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1144, allocations: 3.984 kB / 0.9039 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1144, allocations: 7.922 kB / 0.9039 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.1174, allocations: 2.205 MB / 0.906 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.1174, allocations: 7.938 kB / 0.9061 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.1177, allocations: 107.9 kB / 0.9062 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007079/0.1184, allocations: 387 kB / 0.9065 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.1184, allocations: 23.98 kB / 0.9065 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009601/0.1194, allocations: 1.848 MB / 0.9084 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.1194, allocations: 7.938 kB / 0.9084 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.1212, allocations: 1.329 MB / 0.9097 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/0.1216, allocations: 368.1 kB / 0.91 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.1218, allocations: 20 kB / 0.91 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.1223, allocations: 75.94 kB / 0.9101 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.1223, allocations: 63.77 kB / 0.9102 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.1224, allocations: 39.97 kB / 0.9102 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007442/0.1231, allocations: 0.9351 MB / 0.9111 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1231, allocations: 0 / 0.9111 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001087/0.1242, allocations: 0.5885 MB / 0.9117 GB, free: 9.742 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.0003176/0.1245, allocations: 222.7 kB / 0.9119 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.1256, allocations: 0.6137 MB / 0.9125 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.1256, allocations: 0 / 0.9125 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005924/0.1262, allocations: 371.4 kB / 0.9129 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.1282, allocations: 0.922 MB / 0.9138 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.1318, allocations: 3.221 MB / 0.9169 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1321, allocations: 370.2 kB / 0.9173 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007829/0.1328, allocations: 315.4 kB / 0.9176 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/0.134, allocations: 0.7515 MB / 0.9183 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of SimCode: time 8.42e-07/0.134, allocations: 4 kB / 0.9183 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of Templates: time 0.0463/0.1803, allocations: 38.12 MB / 0.9555 GB, free: 13.66 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.795889428816736]