Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.001785/0.001785, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.002062/0.002062, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.521/1.521, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.979/2.979, allocations: 0.49 GB / 0.7922 GB, free: 1.469 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.CarnotVerifyCOP,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.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,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.CarnotVerifyCOP") [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.002085/0.002085, allocations: 71.91 kB / 1.15 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 176.1 MB / 1.322 GB, free: 25.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1605/1.189, allocations: 133.9 MB / 1.453 GB, free: 9.129 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.04147/1.23, allocations: 23.26 MB / 1.475 GB, free: 6.398 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007639/1.238, allocations: 172.9 kB / 1.476 GB, free: 6.305 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00623/1.244, allocations: 1.545 MB / 1.477 GB, free: 4.996 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01633/1.26, allocations: 4.308 MB / 1.481 GB, free: 1.574 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007659/1.268, allocations: 2.178 MB / 1.483 GB, free: 15.88 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01381/1.282, allocations: 6.514 MB / 1.49 GB, free: 11.97 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00473/1.287, allocations: 1.91 MB / 1.492 GB, free: 10.58 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01034/1.297, allocations: 3.092 MB / 1.495 GB, free: 8.473 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005508/1.302, allocations: 1.933 MB / 1.497 GB, free: 6.531 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001121/1.304, allocations: 248 kB / 1.497 GB, free: 6.289 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007259/1.311, allocations: 2.012 MB / 1.499 GB, free: 4.273 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001476/1.312, allocations: 0.6107 MB / 1.499 GB, free: 3.66 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003739/1.316, allocations: 1.47 MB / 1.501 GB, free: 2.184 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01158/1.328, allocations: 4.46 MB / 1.505 GB, free: 13.71 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.328, allocations: 0 / 1.505 GB, free: 13.71 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.265e-06/1.328, allocations: 0 / 1.505 GB, free: 13.71 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001245/1.328, allocations: 4 kB / 1.505 GB, free: 13.7 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.008296/1.336, allocations: 3.265 MB / 1.508 GB, free: 10.35 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/1.336, allocations: 15.98 kB / 1.508 GB, free: 10.34 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00511/1.341, allocations: 0.857 MB / 1.509 GB, free: 9.477 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006159/1.347, allocations: 2.36 MB / 1.512 GB, free: 7.043 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/1.348, allocations: 131 kB / 1.512 GB, free: 6.914 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004138/1.348, allocations: 160 kB / 1.512 GB, free: 6.758 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004702/1.353, allocations: 1.919 MB / 1.514 GB, free: 4.773 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/1.353, allocations: 3.938 kB / 1.514 GB, free: 4.77 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/1.353, allocations: 68 kB / 1.514 GB, free: 4.703 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/1.353, allocations: 39.94 kB / 1.514 GB, free: 4.664 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005137/1.358, allocations: 1.784 MB / 1.516 GB, free: 2.879 MB / 1.186 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.01632/1.374, allocations: 8.995 MB / 1.524 GB, free: 9.281 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004717/1.379, allocations: 1.141 MB / 1.525 GB, free: 8.125 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/1.38, allocations: 430.2 kB / 1.526 GB, free: 7.699 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001527/1.382, allocations: 1.73 MB / 1.528 GB, free: 5.582 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/1.382, allocations: 42.55 kB / 1.528 GB, free: 5.531 MB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/1.382, allocations: 0 / 1.528 GB, free: 5.531 MB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.009881/1.392, allocations: 2.343 MB / 1.53 GB, free: 3.137 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/1.392, allocations: 85.11 kB / 1.53 GB, free: 3.035 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004824/1.397, allocations: 2.505 MB / 1.532 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002536/1.397, allocations: 41.7 kB / 1.532 GB, free: 476 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/1.398, allocations: 1.051 MB / 1.533 GB, free: 15.41 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/1.398, allocations: 277.6 kB / 1.534 GB, free: 15.13 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004921/1.399, allocations: 262.7 kB / 1.534 GB, free: 14.87 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001743/1.399, allocations: 345.9 kB / 1.534 GB, free: 14.53 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/1.401, allocations: 0.5725 MB / 1.535 GB, free: 13.95 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/1.403, allocations: 0.9465 MB / 1.536 GB, free: 12.86 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003426/1.407, allocations: 1.248 MB / 1.537 GB, free: 11.5 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.407, allocations: 0 / 1.537 GB, free: 11.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007524/1.414, allocations: 2.034 MB / 1.539 GB, free: 9.457 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/1.414, allocations: 8 kB / 1.539 GB, free: 9.449 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/1.414, allocations: 8 kB / 1.539 GB, free: 9.441 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/1.416, allocations: 427.8 kB / 1.539 GB, free: 9.02 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.418, allocations: 279.5 kB / 1.54 GB, free: 8.746 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/1.42, allocations: 1.499 MB / 1.541 GB, free: 7.195 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003174/1.423, allocations: 370.5 kB / 1.542 GB, free: 6.832 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/1.423, allocations: 63.95 kB / 1.542 GB, free: 6.77 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001111/1.425, allocations: 462 kB / 1.542 GB, free: 6.309 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000787/1.425, allocations: 270.2 kB / 1.542 GB, free: 6.043 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/1.43, allocations: 1.487 MB / 1.544 GB, free: 4.535 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/1.43, allocations: 8 kB / 1.544 GB, free: 4.527 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.43, allocations: 3.984 kB / 1.544 GB, free: 4.523 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.43, allocations: 3.984 kB / 1.544 GB, free: 4.52 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009141/1.439, allocations: 3.604 MB / 1.547 GB, free: 0.8047 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/1.439, allocations: 4 kB / 1.547 GB, free: 0.8008 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/1.439, allocations: 128.2 kB / 1.547 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/1.441, allocations: 423 kB / 1.548 GB, free: 264 kB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.892e-05/1.441, allocations: 23.97 kB / 1.548 GB, free: 240 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/1.444, allocations: 1.565 MB / 1.549 GB, free: 14.62 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.444, allocations: 7.938 kB / 1.549 GB, free: 14.61 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007063/1.451, allocations: 1.949 MB / 1.551 GB, free: 12.59 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/1.453, allocations: 499 kB / 1.552 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/1.453, allocations: 19.98 kB / 1.552 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/1.455, allocations: 131.8 kB / 1.552 GB, free: 11.94 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/1.455, allocations: 67.8 kB / 1.552 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/1.455, allocations: 39.97 kB / 1.552 GB, free: 11.83 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003473/1.459, allocations: 1.75 MB / 1.554 GB, free: 10.08 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.11e-07/1.459, allocations: 3.938 kB / 1.554 GB, free: 10.07 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002832/1.462, allocations: 0.7019 MB / 1.554 GB, free: 9.371 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/1.463, allocations: 0.5877 MB / 1.555 GB, free: 8.77 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004622/1.468, allocations: 1.303 MB / 1.556 GB, free: 7.473 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.468, allocations: 4.062 kB / 1.556 GB, free: 7.469 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002565/1.47, allocations: 0.6335 MB / 1.557 GB, free: 6.836 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007208/1.477, allocations: 1.34 MB / 1.558 GB, free: 5.516 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007686/1.485, allocations: 3.637 MB / 1.562 GB, free: 1.793 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/1.486, allocations: 1.486 MB / 1.563 GB, free: 284 kB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008503/1.487, allocations: 187.4 kB / 1.563 GB, free: 96 kB / 1.232 GB Notification: Performance of SimCode: time 1.573e-06/1.487, allocations: 0 / 1.563 GB, free: 96 kB / 1.232 GB Notification: Performance of Templates: time 0.09074/1.578, allocations: 62.9 MB / 1.625 GB, free: 1.512 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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: 20.26216281899542]