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.001357/0.001357, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001868/0.001868, allocations: 161 kB / 24.16 MB, free: 336 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.9801/0.9801, allocations: 177.1 MB / 204.6 MB, free: 5.148 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.933/1.933, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.643e-06/1.643e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.55e-05, allocations: 6.312 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.02938/0.02941, allocations: 32.3 MB / 0.7916 GB, free: 6.289 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.01773/0.04714, allocations: 9.869 MB / 0.8012 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004224/0.05137, allocations: 174.5 kB / 0.8014 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.05368, allocations: 0.7711 MB / 0.8021 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00647/0.06015, allocations: 2.657 MB / 0.8047 GB, free: 8.898 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.004403/0.06455, allocations: 2.197 MB / 0.8069 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.007627/0.07218, allocations: 6.523 MB / 0.8132 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/0.07486, allocations: 1.936 MB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005297/0.08016, allocations: 3.298 MB / 0.8183 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.08238, allocations: 1.492 MB / 0.8198 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0004798/0.08286, allocations: 236 kB / 0.82 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.0841, allocations: 0.7059 MB / 0.8207 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004564/0.08455, allocations: 0.6344 MB / 0.8213 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.08576, allocations: 0.9546 MB / 0.8223 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002947/0.08871, allocations: 2.371 MB / 0.8246 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.08871, allocations: 0.5625 kB / 0.8246 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.743e-06/0.08871, allocations: 0 / 0.8246 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.407e-05/0.08875, allocations: 4.719 kB / 0.8246 GB, free: 4.469 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.003089/0.09184, allocations: 3.009 MB / 0.8275 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.09187, allocations: 13.06 kB / 0.8275 GB, free: 1.391 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.09342, allocations: 0.7122 MB / 0.8282 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/0.0955, allocations: 1.536 MB / 0.8297 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-05/0.09557, allocations: 131 kB / 0.8298 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.09572, allocations: 156 kB / 0.83 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.09713, allocations: 1.318 MB / 0.8313 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.09715, allocations: 3.938 kB / 0.8313 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.784e-05/0.09724, allocations: 68 kB / 0.8314 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/0.09728, allocations: 36 kB / 0.8314 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006787/0.09796, allocations: 0.509 MB / 0.8319 GB, free: 12.75 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.005048/0.103, allocations: 4.503 MB / 0.8363 GB, free: 8.117 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.1041, allocations: 0.6621 MB / 0.8369 GB, free: 7.43 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.1043, allocations: 155.3 kB / 0.8371 GB, free: 7.27 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.1044, allocations: 39.98 kB / 0.8371 GB, free: 7.23 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1044, allocations: 38.56 kB / 0.8372 GB, free: 7.184 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=76): time 2.445e-06/0.1044, allocations: 0 / 0.8372 GB, free: 7.184 MB / 0.7917 GB Notification: Performance of matching and sorting (n=76): time 0.0022/0.1066, allocations: 1.05 MB / 0.8382 GB, free: 6.121 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.1066, allocations: 93.05 kB / 0.8383 GB, free: 6.012 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.1079, allocations: 1.552 MB / 0.8398 GB, free: 4.422 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.787e-05/0.108, allocations: 45.7 kB / 0.8398 GB, free: 4.371 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.1083, allocations: 0.7774 MB / 0.8406 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.1085, allocations: 285.5 kB / 0.8409 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.1087, allocations: 234.6 kB / 0.8411 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.1088, allocations: 349.9 kB / 0.8414 GB, free: 2.719 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.1091, allocations: 153.4 kB / 0.8416 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/0.1097, allocations: 1.179 MB / 0.8427 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.1105, allocations: 0.6626 MB / 0.8434 GB, free: 288 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1105, allocations: 0 / 0.8434 GB, free: 288 kB / 0.7917 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001966/0.1124, allocations: 1.047 MB / 0.8444 GB, free: 15.21 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1125, allocations: 8 kB / 0.8444 GB, free: 15.21 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.1125, allocations: 8 kB / 0.8444 GB, free: 15.2 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007866/0.1133, allocations: 391.5 kB / 0.8448 GB, free: 14.81 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.1137, allocations: 223.7 kB / 0.845 GB, free: 14.59 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007069/0.1144, allocations: 1.237 MB / 0.8462 GB, free: 13.3 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008594/0.1153, allocations: 207.2 kB / 0.8464 GB, free: 13.1 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.711e-05/0.1153, allocations: 47.97 kB / 0.8464 GB, free: 13.05 MB / 0.8074 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.0003687/0.1157, allocations: 184.4 kB / 0.8466 GB, free: 12.86 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.1159, allocations: 139.8 kB / 0.8467 GB, free: 12.73 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008853/0.1168, allocations: 0.7447 MB / 0.8475 GB, free: 11.97 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.1168, allocations: 12 kB / 0.8475 GB, free: 11.96 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1168, allocations: 4 kB / 0.8475 GB, free: 11.96 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1168, allocations: 3.984 kB / 0.8475 GB, free: 11.95 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.1192, allocations: 1.906 MB / 0.8494 GB, free: 9.965 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.1192, allocations: 4 kB / 0.8494 GB, free: 9.961 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.1195, allocations: 99.86 kB / 0.8494 GB, free: 9.863 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007626/0.1202, allocations: 399.7 kB / 0.8498 GB, free: 9.469 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.1203, allocations: 19.98 kB / 0.8499 GB, free: 9.449 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009986/0.1213, allocations: 1.272 MB / 0.8511 GB, free: 8.125 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.1213, allocations: 7.938 kB / 0.8511 GB, free: 8.117 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.1229, allocations: 1.105 MB / 0.8522 GB, free: 6.938 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005416/0.1234, allocations: 261 kB / 0.8524 GB, free: 6.684 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.1236, allocations: 23.94 kB / 0.8525 GB, free: 6.66 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005152/0.1241, allocations: 75.94 kB / 0.8525 GB, free: 6.586 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.1242, allocations: 67.62 kB / 0.8526 GB, free: 6.52 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.1242, allocations: 35.97 kB / 0.8526 GB, free: 6.484 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.0007415/0.125, allocations: 0.8048 MB / 0.8534 GB, free: 5.656 MB / 0.8074 GB Notification: Performance of sort global known variables: time 1.7e-07/0.125, allocations: 0 / 0.8534 GB, free: 5.656 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.001202/0.1262, allocations: 0.5924 MB / 0.854 GB, free: 5.062 MB / 0.8074 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.000374/0.1265, allocations: 198.3 kB / 0.8542 GB, free: 4.859 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.1278, allocations: 0.5556 MB / 0.8547 GB, free: 4.301 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 3.541e-05/0.1278, allocations: 24.44 kB / 0.8547 GB, free: 4.277 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.1284, allocations: 349.6 kB / 0.8551 GB, free: 3.938 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/0.131, allocations: 0.8997 MB / 0.856 GB, free: 3.051 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005559/0.1365, allocations: 3.214 MB / 0.8591 GB, free: 15.73 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.1369, allocations: 354.2 kB / 0.8594 GB, free: 15.37 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00134/0.1382, allocations: 320.6 kB / 0.8597 GB, free: 15.05 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/0.1397, allocations: 0.6492 MB / 0.8604 GB, free: 14.38 MB / 0.823 GB Notification: Performance of SimCode: time 1.703e-06/0.1397, allocations: 0 / 0.8604 GB, free: 14.38 MB / 0.823 GB Notification: Performance of Templates: time 0.05573/0.1955, allocations: 38.16 MB / 0.8976 GB, free: 9.18 MB / 0.8542 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: 6.067141246050596]