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.001762/0.001762, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002285/0.002285, allocations: 158 kB / 23.01 MB, free: 4.949 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.502/1.502, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.831/2.831, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.002451/0.002451, allocations: 63.91 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238/1.24, allocations: 176.1 MB / 1.154 GB, free: 33.4 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1439/1.384, allocations: 121.8 MB / 1.273 GB, free: 15.49 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.04187/1.426, allocations: 21.62 MB / 1.294 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008223/1.434, allocations: 173.1 kB / 1.294 GB, free: 0.5039 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006369/1.441, allocations: 1.48 MB / 1.296 GB, free: 15.51 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01649/1.457, allocations: 4.34 MB / 1.3 GB, free: 12.08 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007376/1.464, allocations: 2.205 MB / 1.302 GB, free: 10.36 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01291/1.477, allocations: 6.55 MB / 1.308 GB, free: 6.418 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005617/1.483, allocations: 1.82 MB / 1.31 GB, free: 5.055 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/1.494, allocations: 3.178 MB / 1.313 GB, free: 3.074 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005483/1.499, allocations: 1.82 MB / 1.315 GB, free: 1.984 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.00118/1.5, allocations: 244.3 kB / 1.315 GB, free: 1.984 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006824/1.507, allocations: 1.578 MB / 1.317 GB, free: 1.25 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00161/1.509, allocations: 0.6163 MB / 1.317 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.005075/1.514, allocations: 1.162 MB / 1.319 GB, free: 48 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01307/1.527, allocations: 4.387 MB / 1.323 GB, free: 11.79 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/1.527, allocations: 4 kB / 1.323 GB, free: 11.79 MB / 1.17 GB Notification: Performance of FrontEnd: time 5.49e-06/1.527, allocations: 4 kB / 1.323 GB, free: 11.78 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001658/1.527, allocations: 0 / 1.323 GB, free: 11.78 MB / 1.17 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.01016/1.537, allocations: 3.175 MB / 1.326 GB, free: 8.535 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.537, allocations: 16.03 kB / 1.326 GB, free: 8.52 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005126/1.542, allocations: 0.8531 MB / 1.327 GB, free: 7.664 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00634/1.549, allocations: 2.294 MB / 1.329 GB, free: 5.285 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/1.549, allocations: 127 kB / 1.329 GB, free: 5.16 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004538/1.549, allocations: 160 kB / 1.329 GB, free: 5.004 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0053/1.555, allocations: 2.002 MB / 1.331 GB, free: 2.918 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/1.555, allocations: 7.875 kB / 1.331 GB, free: 2.91 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/1.555, allocations: 64 kB / 1.331 GB, free: 2.848 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.193e-05/1.555, allocations: 39.94 kB / 1.331 GB, free: 2.809 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005317/1.56, allocations: 1.78 MB / 1.333 GB, free: 1.027 MB / 1.17 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.01413/1.575, allocations: 6.145 MB / 1.339 GB, free: 10.74 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004636/1.579, allocations: 1.136 MB / 1.34 GB, free: 9.59 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/1.58, allocations: 434.2 kB / 1.341 GB, free: 9.16 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005524/1.581, allocations: 159.9 kB / 1.341 GB, free: 9.004 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.684e-05/1.581, allocations: 46.48 kB / 1.341 GB, free: 8.949 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 3.506e-06/1.581, allocations: 0 / 1.341 GB, free: 8.949 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.009464/1.591, allocations: 2.143 MB / 1.343 GB, free: 6.793 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/1.591, allocations: 89.11 kB / 1.343 GB, free: 6.688 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004821/1.595, allocations: 1.977 MB / 1.345 GB, free: 4.676 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001977/1.596, allocations: 45.7 kB / 1.345 GB, free: 4.625 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001308/1.597, allocations: 1.082 MB / 1.346 GB, free: 3.531 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004278/1.597, allocations: 289.5 kB / 1.346 GB, free: 3.246 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006162/1.598, allocations: 250.8 kB / 1.347 GB, free: 2.996 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001902/1.598, allocations: 353.9 kB / 1.347 GB, free: 2.645 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/1.6, allocations: 0.5647 MB / 1.347 GB, free: 2.078 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/1.603, allocations: 1.612 MB / 1.349 GB, free: 160 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/1.607, allocations: 1.245 MB / 1.35 GB, free: 14.81 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/1.607, allocations: 7.984 kB / 1.35 GB, free: 14.8 MB / 1.201 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007562/1.614, allocations: 1.98 MB / 1.352 GB, free: 12.8 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/1.614, allocations: 11.98 kB / 1.352 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/1.614, allocations: 8 kB / 1.352 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/1.616, allocations: 421.5 kB / 1.353 GB, free: 12.37 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/1.617, allocations: 283.5 kB / 1.353 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/1.62, allocations: 1.493 MB / 1.354 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/1.623, allocations: 291.2 kB / 1.355 GB, free: 10.26 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/1.623, allocations: 59.97 kB / 1.355 GB, free: 10.2 MB / 1.201 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.001179/1.624, allocations: 465.5 kB / 1.355 GB, free: 9.738 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008149/1.625, allocations: 206.7 kB / 1.355 GB, free: 9.535 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004441/1.629, allocations: 1.473 MB / 1.357 GB, free: 8.039 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-05/1.629, allocations: 8 kB / 1.357 GB, free: 8.031 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.63, allocations: 0 / 1.357 GB, free: 8.031 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/1.63, allocations: 3.984 kB / 1.357 GB, free: 8.027 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009313/1.639, allocations: 3.166 MB / 1.36 GB, free: 4.773 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.639, allocations: 4 kB / 1.36 GB, free: 4.77 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/1.64, allocations: 132.2 kB / 1.36 GB, free: 4.641 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001704/1.641, allocations: 417.2 kB / 1.36 GB, free: 4.227 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-05/1.641, allocations: 27.92 kB / 1.36 GB, free: 4.199 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00309/1.644, allocations: 1.57 MB / 1.362 GB, free: 2.578 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.644, allocations: 7.938 kB / 1.362 GB, free: 2.57 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007186/1.652, allocations: 1.891 MB / 1.364 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.653, allocations: 368.1 kB / 1.364 GB, free: 264 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005937/1.654, allocations: 23.98 kB / 1.364 GB, free: 240 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/1.656, allocations: 123.8 kB / 1.364 GB, free: 116 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/1.656, allocations: 63.83 kB / 1.364 GB, free: 52 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.656, allocations: 35.97 kB / 1.364 GB, free: 16 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003479/1.659, allocations: 1.376 MB / 1.366 GB, free: 14.62 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/1.659, allocations: 4 kB / 1.366 GB, free: 14.62 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002993/1.662, allocations: 0.7365 MB / 1.366 GB, free: 13.88 MB / 1.217 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.001514/1.664, allocations: 0.5877 MB / 1.367 GB, free: 13.28 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004859/1.669, allocations: 1.311 MB / 1.368 GB, free: 11.97 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.669, allocations: 0 / 1.368 GB, free: 11.97 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002649/1.671, allocations: 0.6529 MB / 1.369 GB, free: 11.32 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005365/1.677, allocations: 0.8666 MB / 1.37 GB, free: 10.46 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009452/1.686, allocations: 3.546 MB / 1.373 GB, free: 6.84 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/1.688, allocations: 0.9155 MB / 1.374 GB, free: 5.887 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002024/1.69, allocations: 367.5 kB / 1.374 GB, free: 5.527 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006067/1.691, allocations: 148.4 kB / 1.375 GB, free: 5.383 MB / 1.217 GB Notification: Performance of SimCode: time 1.122e-06/1.691, allocations: 0 / 1.375 GB, free: 5.383 MB / 1.217 GB Notification: Performance of Templates: time 0.08001/1.771, allocations: 40.83 MB / 1.415 GB, free: 13.42 MB / 1.264 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 -s ida -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: 11.379496167064644]