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.001534/0.001534, allocations: 104.2 kB / 19.74 MB, free: 2.07 MB / 14.72 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.001725/0.001725, allocations: 214.6 kB / 23.04 MB, free: 4.867 MB / 14.72 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.253/3.253, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 61.31 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4064, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1366/0.543, allocations: 121.9 MB / 1.446 GB, free: 6.707 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03547/0.5785, allocations: 21.62 MB / 1.467 GB, free: 1.047 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005818/0.5843, allocations: 174.5 kB / 1.467 GB, free: 0.875 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005252/0.5895, allocations: 1.487 MB / 1.469 GB, free: 15.38 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01454/0.6041, allocations: 4.354 MB / 1.473 GB, free: 11.01 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006684/0.6107, allocations: 2.198 MB / 1.475 GB, free: 8.828 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01153/0.6223, allocations: 6.564 MB / 1.482 GB, free: 2.242 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003851/0.6261, allocations: 1.825 MB / 1.483 GB, free: 364 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00912/0.6352, allocations: 3.168 MB / 1.487 GB, free: 13.18 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004319/0.6396, allocations: 1.828 MB / 1.488 GB, free: 11.35 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0007447/0.6403, allocations: 248 kB / 1.489 GB, free: 11.11 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005075/0.6454, allocations: 1.587 MB / 1.49 GB, free: 9.516 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000957/0.6463, allocations: 0.6146 MB / 1.491 GB, free: 8.898 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002348/0.6487, allocations: 1.163 MB / 1.492 GB, free: 7.73 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.009222/0.6579, allocations: 4.399 MB / 1.496 GB, free: 3.316 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.6579, allocations: 0 / 1.496 GB, free: 3.316 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.494e-06/0.6579, allocations: 0 / 1.496 GB, free: 3.316 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001079/0.658, allocations: 0 / 1.496 GB, free: 3.316 MB / 1.186 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.00755/0.6656, allocations: 3.2 MB / 1.499 GB, free: 48 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.6656, allocations: 8.031 kB / 1.499 GB, free: 40 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004736/0.6704, allocations: 0.8613 MB / 1.5 GB, free: 15.18 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005555/0.6759, allocations: 2.295 MB / 1.502 GB, free: 12.8 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.6761, allocations: 131 kB / 1.503 GB, free: 12.67 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/0.6763, allocations: 156 kB / 1.503 GB, free: 12.52 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004435/0.6808, allocations: 1.998 MB / 1.505 GB, free: 10.43 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.6808, allocations: 3.938 kB / 1.505 GB, free: 10.43 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.681, allocations: 67.94 kB / 1.505 GB, free: 10.36 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/0.681, allocations: 39.98 kB / 1.505 GB, free: 10.32 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004921/0.6859, allocations: 1.799 MB / 1.506 GB, free: 8.523 MB / 1.201 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.01303/0.699, allocations: 6.15 MB / 1.512 GB, free: 2.23 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004447/0.7034, allocations: 1.154 MB / 1.514 GB, free: 1.059 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.7046, allocations: 425.4 kB / 1.514 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005143/0.7051, allocations: 159.9 kB / 1.514 GB, free: 492 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.7051, allocations: 42.56 kB / 1.514 GB, free: 440 kB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 3.446e-06/0.7051, allocations: 0 / 1.514 GB, free: 440 kB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.009082/0.7142, allocations: 2.14 MB / 1.516 GB, free: 14.27 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.7143, allocations: 85.11 kB / 1.516 GB, free: 14.17 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003746/0.718, allocations: 2.016 MB / 1.518 GB, free: 12.12 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.7182, allocations: 41.7 kB / 1.518 GB, free: 12.07 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009769/0.7192, allocations: 1.087 MB / 1.519 GB, free: 10.98 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/0.7196, allocations: 285.6 kB / 1.52 GB, free: 10.7 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004461/0.72, allocations: 254.8 kB / 1.52 GB, free: 10.44 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.7202, allocations: 345.9 kB / 1.52 GB, free: 10.1 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/0.7219, allocations: 0.5725 MB / 1.521 GB, free: 9.523 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002577/0.7245, allocations: 1.62 MB / 1.522 GB, free: 7.594 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/0.7276, allocations: 1.252 MB / 1.524 GB, free: 6.234 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.7277, allocations: 4 kB / 1.524 GB, free: 6.23 MB / 1.217 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00678/0.7344, allocations: 1.987 MB / 1.526 GB, free: 4.23 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.7345, allocations: 12.06 kB / 1.526 GB, free: 4.219 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.7345, allocations: 8 kB / 1.526 GB, free: 4.211 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/0.7364, allocations: 488.1 kB / 1.526 GB, free: 3.73 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.7377, allocations: 283.5 kB / 1.526 GB, free: 3.453 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.74, allocations: 1.518 MB / 1.528 GB, free: 1.883 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/0.7426, allocations: 283.2 kB / 1.528 GB, free: 1.605 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.7428, allocations: 67.95 kB / 1.528 GB, free: 1.539 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * 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.001026/0.7438, allocations: 457.5 kB / 1.529 GB, free: 1.082 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/0.7444, allocations: 218.5 kB / 1.529 GB, free: 0.8672 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/0.7481, allocations: 1.476 MB / 1.53 GB, free: 15.38 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/0.7481, allocations: 15.98 kB / 1.53 GB, free: 15.36 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.7481, allocations: 8 kB / 1.53 GB, free: 15.35 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.7482, allocations: 3.984 kB / 1.53 GB, free: 15.35 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008408/0.7566, allocations: 3.163 MB / 1.533 GB, free: 12.1 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.7566, allocations: 4 kB / 1.533 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006233/0.7572, allocations: 136.1 kB / 1.534 GB, free: 11.96 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.7589, allocations: 490.8 kB / 1.534 GB, free: 11.48 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/0.759, allocations: 27.97 kB / 1.534 GB, free: 11.45 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/0.7618, allocations: 1.579 MB / 1.536 GB, free: 9.82 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.7618, allocations: 11.92 kB / 1.536 GB, free: 9.809 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006459/0.7683, allocations: 1.893 MB / 1.537 GB, free: 7.855 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.7696, allocations: 376.2 kB / 1.538 GB, free: 7.484 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/0.7698, allocations: 23.88 kB / 1.538 GB, free: 7.461 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.7712, allocations: 115.9 kB / 1.538 GB, free: 7.348 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.7713, allocations: 67.83 kB / 1.538 GB, free: 7.281 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.29e-05/0.7714, allocations: 39.97 kB / 1.538 GB, free: 7.242 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002564/0.774, allocations: 1.396 MB / 1.539 GB, free: 5.828 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.21e-07/0.774, allocations: 192 / 1.539 GB, free: 5.828 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002253/0.7762, allocations: 0.7481 MB / 1.54 GB, free: 5.078 MB / 1.232 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.001102/0.7773, allocations: 0.6145 MB / 1.541 GB, free: 4.453 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004215/0.7816, allocations: 1.311 MB / 1.542 GB, free: 3.145 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7816, allocations: 0 / 1.542 GB, free: 3.145 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002409/0.784, allocations: 0.6505 MB / 1.543 GB, free: 2.496 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004283/0.7883, allocations: 0.8741 MB / 1.543 GB, free: 1.633 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007317/0.7956, allocations: 3.6 MB / 1.547 GB, free: 13.95 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.7966, allocations: 0.9194 MB / 1.548 GB, free: 12.99 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006327/0.7973, allocations: 151.4 kB / 1.548 GB, free: 12.84 MB / 1.248 GB Notification: Performance of SimCode: time 1.142e-06/0.7973, allocations: 4 kB / 1.548 GB, free: 12.84 MB / 1.248 GB Notification: Performance of Templates: time 0.081/0.8783, allocations: 58.56 MB / 1.605 GB, free: 2.527 MB / 1.295 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.24278730293736]