Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001357/0.001357, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001452/0.001452, allocations: 158.4 kB / 23.01 MB, free: 4.602 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.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.883/2.883, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002275/0.002275, allocations: 63.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8753/0.8776, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1325/1.01, allocations: 121.8 MB / 1.306 GB, free: 9.953 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03516/1.045, allocations: 21.61 MB / 1.327 GB, free: 6.523 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005005/1.05, allocations: 174.5 kB / 1.327 GB, free: 6.352 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.004463/1.055, allocations: 1.483 MB / 1.328 GB, free: 4.859 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01278/1.067, allocations: 4.334 MB / 1.333 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005904/1.073, allocations: 2.202 MB / 1.335 GB, free: 14.32 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01018/1.084, allocations: 6.551 MB / 1.341 GB, free: 7.754 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003447/1.087, allocations: 1.821 MB / 1.343 GB, free: 5.879 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007977/1.095, allocations: 3.174 MB / 1.346 GB, free: 2.699 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003846/1.099, allocations: 1.804 MB / 1.348 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006236/1.099, allocations: 244 kB / 1.348 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004433/1.104, allocations: 1.587 MB / 1.349 GB, free: 15.06 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007075/1.105, allocations: 0.6145 MB / 1.35 GB, free: 14.44 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001935/1.107, allocations: 1.163 MB / 1.351 GB, free: 13.27 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.008429/1.115, allocations: 4.391 MB / 1.356 GB, free: 8.871 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.115, allocations: 3.938 kB / 1.356 GB, free: 8.867 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.475e-06/1.115, allocations: 0 / 1.356 GB, free: 8.867 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.585e-05/1.115, allocations: 0 / 1.356 GB, free: 8.867 MB / 1.201 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.006527/1.122, allocations: 3.181 MB / 1.359 GB, free: 5.617 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.122, allocations: 12.02 kB / 1.359 GB, free: 5.605 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004729/1.126, allocations: 0.8528 MB / 1.359 GB, free: 4.75 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005551/1.132, allocations: 2.296 MB / 1.362 GB, free: 2.367 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/1.132, allocations: 127 kB / 1.362 GB, free: 2.242 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/1.132, allocations: 172 kB / 1.362 GB, free: 2.074 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004518/1.137, allocations: 1.99 MB / 1.364 GB, free: 0 / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/1.137, allocations: 8.047 kB / 1.364 GB, free: 15.99 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/1.137, allocations: 63.94 kB / 1.364 GB, free: 15.93 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/1.137, allocations: 40 kB / 1.364 GB, free: 15.89 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004974/1.142, allocations: 1.78 MB / 1.366 GB, free: 14.11 MB / 1.217 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.01268/1.155, allocations: 6.143 MB / 1.372 GB, free: 7.82 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004603/1.159, allocations: 1.149 MB / 1.373 GB, free: 6.664 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/1.161, allocations: 433.4 kB / 1.373 GB, free: 6.234 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005011/1.161, allocations: 151.9 kB / 1.373 GB, free: 6.086 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/1.161, allocations: 46.55 kB / 1.374 GB, free: 6.031 MB / 1.217 GB Notification: Performance of pre-optimization done (n=76): time 2.675e-06/1.161, allocations: 0 / 1.374 GB, free: 6.031 MB / 1.217 GB Notification: Performance of matching and sorting (n=76): time 0.009319/1.17, allocations: 2.133 MB / 1.376 GB, free: 3.887 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/1.17, allocations: 85.11 kB / 1.376 GB, free: 3.785 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/1.174, allocations: 1.977 MB / 1.378 GB, free: 1.773 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/1.174, allocations: 41.7 kB / 1.378 GB, free: 1.727 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/1.175, allocations: 1.094 MB / 1.379 GB, free: 0.6211 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/1.175, allocations: 281.6 kB / 1.379 GB, free: 352 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004431/1.176, allocations: 254.8 kB / 1.379 GB, free: 92 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002012/1.176, allocations: 349.9 kB / 1.38 GB, free: 15.74 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/1.178, allocations: 0.5686 MB / 1.38 GB, free: 15.17 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/1.181, allocations: 1.611 MB / 1.382 GB, free: 13.25 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/1.184, allocations: 1.257 MB / 1.383 GB, free: 11.89 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/1.184, allocations: 0 / 1.383 GB, free: 11.89 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006948/1.191, allocations: 1.981 MB / 1.385 GB, free: 9.891 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.191, allocations: 8 kB / 1.385 GB, free: 9.883 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/1.191, allocations: 8 kB / 1.385 GB, free: 9.875 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/1.193, allocations: 421.6 kB / 1.385 GB, free: 9.457 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/1.194, allocations: 279.6 kB / 1.386 GB, free: 9.184 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/1.196, allocations: 1.503 MB / 1.387 GB, free: 7.629 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/1.199, allocations: 279.2 kB / 1.387 GB, free: 7.355 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/1.199, allocations: 67.97 kB / 1.387 GB, free: 7.289 MB / 1.232 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.0009864/1.2, allocations: 461.5 kB / 1.388 GB, free: 6.828 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005175/1.201, allocations: 210.6 kB / 1.388 GB, free: 6.621 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/1.204, allocations: 1.474 MB / 1.389 GB, free: 5.129 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/1.205, allocations: 12 kB / 1.389 GB, free: 5.117 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/1.205, allocations: 7.938 kB / 1.389 GB, free: 5.109 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/1.205, allocations: 3.984 kB / 1.389 GB, free: 5.105 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008035/1.213, allocations: 3.174 MB / 1.393 GB, free: 1.844 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.213, allocations: 4.375 kB / 1.393 GB, free: 1.84 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/1.213, allocations: 131.8 kB / 1.393 GB, free: 1.711 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/1.215, allocations: 417.2 kB / 1.393 GB, free: 1.297 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.626e-05/1.215, allocations: 23.98 kB / 1.393 GB, free: 1.273 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/1.218, allocations: 1.569 MB / 1.395 GB, free: 15.65 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.218, allocations: 8.062 kB / 1.395 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006462/1.224, allocations: 1.887 MB / 1.396 GB, free: 13.7 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.225, allocations: 368.1 kB / 1.397 GB, free: 13.33 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/1.226, allocations: 19.92 kB / 1.397 GB, free: 13.31 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/1.227, allocations: 119.9 kB / 1.397 GB, free: 13.2 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/1.227, allocations: 63.83 kB / 1.397 GB, free: 13.13 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.106e-05/1.227, allocations: 39.97 kB / 1.397 GB, free: 13.09 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002554/1.23, allocations: 1.38 MB / 1.398 GB, free: 11.7 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/1.23, allocations: 0 / 1.398 GB, free: 11.7 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002134/1.232, allocations: 0.7365 MB / 1.399 GB, free: 10.96 MB / 1.248 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.001051/1.233, allocations: 0.5909 MB / 1.4 GB, free: 10.36 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004402/1.237, allocations: 1.319 MB / 1.401 GB, free: 9.039 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.237, allocations: 0 / 1.401 GB, free: 9.039 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002527/1.24, allocations: 0.6453 MB / 1.402 GB, free: 8.395 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004137/1.244, allocations: 0.8654 MB / 1.402 GB, free: 7.543 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/1.251, allocations: 3.539 MB / 1.406 GB, free: 3.93 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/1.252, allocations: 0.9194 MB / 1.407 GB, free: 2.973 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001615/1.253, allocations: 367.5 kB / 1.407 GB, free: 2.609 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/1.254, allocations: 140.5 kB / 1.407 GB, free: 2.473 MB / 1.248 GB Notification: Performance of SimCode: time 6.41e-07/1.254, allocations: 0 / 1.407 GB, free: 2.473 MB / 1.248 GB Notification: Performance of Templates: time 0.07186/1.326, allocations: 40.83 MB / 1.447 GB, free: 10.4 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.40937650599517]