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.001305/0.001305, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001481/0.001481, allocations: 218 kB / 23.01 MB, free: 4.605 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.198/3.198, allocations: 0.49 GB / 0.7958 GB, free: 33.27 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.00208/0.00208, allocations: 66.59 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.404, allocations: 176.1 MB / 1.327 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1461/0.55, allocations: 135.2 MB / 1.459 GB, free: 9.754 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03668/0.5867, allocations: 23.35 MB / 1.482 GB, free: 2.355 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005944/0.5927, allocations: 174.5 kB / 1.482 GB, free: 2.184 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005293/0.598, allocations: 1.549 MB / 1.484 GB, free: 0.625 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01397/0.6119, allocations: 4.377 MB / 1.488 GB, free: 12.23 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.006872/0.6188, allocations: 2.271 MB / 1.49 GB, free: 9.98 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01176/0.6306, allocations: 6.576 MB / 1.497 GB, free: 3.383 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004112/0.6347, allocations: 1.852 MB / 1.498 GB, free: 1.469 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008722/0.6434, allocations: 3.136 MB / 1.501 GB, free: 14.33 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004469/0.6479, allocations: 1.937 MB / 1.503 GB, free: 12.39 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0007667/0.6486, allocations: 248 kB / 1.504 GB, free: 12.14 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007236/0.6559, allocations: 2.051 MB / 1.506 GB, free: 10.09 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001646/0.6575, allocations: 0.6145 MB / 1.506 GB, free: 9.473 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003942/0.6615, allocations: 1.466 MB / 1.508 GB, free: 8 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0099/0.6714, allocations: 4.457 MB / 1.512 GB, free: 3.527 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.6714, allocations: 4 kB / 1.512 GB, free: 3.523 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6714, allocations: 0 / 1.512 GB, free: 3.523 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.283e-05/0.6715, allocations: 0 / 1.512 GB, free: 3.523 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.007145/0.6786, allocations: 3.191 MB / 1.515 GB, free: 268 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.6786, allocations: 8.031 kB / 1.515 GB, free: 260 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004685/0.6833, allocations: 0.857 MB / 1.516 GB, free: 15.39 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005796/0.6891, allocations: 2.284 MB / 1.518 GB, free: 13.02 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.6893, allocations: 123 kB / 1.518 GB, free: 12.9 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002682/0.6895, allocations: 168 kB / 1.518 GB, free: 12.74 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004256/0.6938, allocations: 1.923 MB / 1.52 GB, free: 10.75 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.6938, allocations: 0 / 1.52 GB, free: 10.75 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.694, allocations: 71.94 kB / 1.52 GB, free: 10.68 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/0.694, allocations: 39.94 kB / 1.52 GB, free: 10.64 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004608/0.6986, allocations: 1.788 MB / 1.522 GB, free: 8.852 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.01499/0.7136, allocations: 8.85 MB / 1.531 GB, free: 15.41 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004201/0.7178, allocations: 1.147 MB / 1.532 GB, free: 14.25 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.7189, allocations: 429.4 kB / 1.532 GB, free: 13.82 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005317/0.7194, allocations: 156.5 kB / 1.532 GB, free: 13.67 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.7194, allocations: 50.5 kB / 1.533 GB, free: 13.61 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 3.036e-06/0.7194, allocations: 0 / 1.533 GB, free: 13.61 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.008867/0.7283, allocations: 2.175 MB / 1.535 GB, free: 11.42 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.7284, allocations: 89.11 kB / 1.535 GB, free: 11.31 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004552/0.7329, allocations: 2.513 MB / 1.537 GB, free: 8.781 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001979/0.7331, allocations: 41.7 kB / 1.537 GB, free: 8.734 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.7342, allocations: 1.051 MB / 1.538 GB, free: 7.676 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.7345, allocations: 285.6 kB / 1.539 GB, free: 7.395 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004377/0.735, allocations: 250.8 kB / 1.539 GB, free: 7.145 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.7351, allocations: 353.9 kB / 1.539 GB, free: 6.793 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.7368, allocations: 0.5724 MB / 1.54 GB, free: 6.219 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.7388, allocations: 0.9504 MB / 1.541 GB, free: 5.117 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002955/0.7418, allocations: 1.248 MB / 1.542 GB, free: 3.762 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.7418, allocations: 7.938 kB / 1.542 GB, free: 3.754 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006633/0.7484, allocations: 2.033 MB / 1.544 GB, free: 1.707 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.7485, allocations: 8 kB / 1.544 GB, free: 1.699 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.7485, allocations: 8 kB / 1.544 GB, free: 1.691 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/0.7502, allocations: 425.2 kB / 1.544 GB, free: 1.27 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.7514, allocations: 283.6 kB / 1.544 GB, free: 0.9922 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.7537, allocations: 1.506 MB / 1.546 GB, free: 15.44 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/0.7567, allocations: 370.5 kB / 1.546 GB, free: 15.08 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.7569, allocations: 63.95 kB / 1.546 GB, free: 15.02 MB / 1.248 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.00101/0.7579, allocations: 461.5 kB / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005518/0.7584, allocations: 270.2 kB / 1.547 GB, free: 14.29 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/0.7621, allocations: 1.498 MB / 1.549 GB, free: 12.77 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.7621, allocations: 12 kB / 1.549 GB, free: 12.76 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.7621, allocations: 3.984 kB / 1.549 GB, free: 12.75 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.7621, allocations: 3.984 kB / 1.549 GB, free: 12.75 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008002/0.7701, allocations: 3.575 MB / 1.552 GB, free: 9.07 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.7701, allocations: 7.938 kB / 1.552 GB, free: 9.062 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/0.7707, allocations: 132.2 kB / 1.552 GB, free: 8.934 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.7722, allocations: 409.2 kB / 1.553 GB, free: 8.527 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/0.7723, allocations: 27.98 kB / 1.553 GB, free: 8.5 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/0.7751, allocations: 1.569 MB / 1.554 GB, free: 6.879 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7751, allocations: 0 / 1.554 GB, free: 6.879 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00689/0.782, allocations: 1.962 MB / 1.556 GB, free: 4.855 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001998/0.784, allocations: 419.9 kB / 1.556 GB, free: 4.441 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004964/0.7845, allocations: 28.02 kB / 1.556 GB, free: 4.414 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/0.7861, allocations: 139.8 kB / 1.557 GB, free: 4.277 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.7862, allocations: 55.89 kB / 1.557 GB, free: 4.223 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.847e-05/0.7863, allocations: 43.91 kB / 1.557 GB, free: 4.18 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003263/0.7896, allocations: 1.758 MB / 1.558 GB, free: 2.418 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7896, allocations: 7.875 kB / 1.558 GB, free: 2.41 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002519/0.7921, allocations: 0.7018 MB / 1.559 GB, free: 1.707 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.001163/0.7932, allocations: 0.5878 MB / 1.56 GB, free: 1.105 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004232/0.7975, allocations: 1.311 MB / 1.561 GB, free: 15.79 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.7975, allocations: 0 / 1.561 GB, free: 15.79 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.7998, allocations: 0.6484 MB / 1.562 GB, free: 15.14 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006578/0.8064, allocations: 1.334 MB / 1.563 GB, free: 13.83 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007296/0.8137, allocations: 3.654 MB / 1.566 GB, free: 10.1 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/0.8149, allocations: 1.486 MB / 1.568 GB, free: 8.578 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007916/0.8157, allocations: 183.3 kB / 1.568 GB, free: 8.398 MB / 1.264 GB Notification: Performance of SimCode: time 1.292e-06/0.8157, allocations: 0 / 1.568 GB, free: 8.398 MB / 1.264 GB Notification: Performance of Templates: time 0.9031/1.719, allocations: 62.88 MB / 1.629 GB, free: 266.7 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.923511774017243]