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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 106.6 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 489.7 MB / 0.7761 GB, free: 2.422 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 63.91 kB / 1.127 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272/1.274, allocations: 172 MB / 1.295 GB, free: 38.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1315/1.405, allocations: 133.4 MB / 1.425 GB, free: 7.086 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.04095/1.446, allocations: 23.28 MB / 1.448 GB, free: 6.32 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007561/1.454, allocations: 124.8 kB / 1.448 GB, free: 6.273 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006122/1.46, allocations: 1.544 MB / 1.45 GB, free: 5.32 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01708/1.477, allocations: 4.306 MB / 1.454 GB, free: 2.746 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.007613/1.485, allocations: 2.198 MB / 1.456 GB, free: 1.477 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0131/1.498, allocations: 6.519 MB / 1.462 GB, free: 14.18 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004087/1.502, allocations: 1.904 MB / 1.464 GB, free: 12.78 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009513/1.511, allocations: 3.054 MB / 1.467 GB, free: 10.86 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005355/1.517, allocations: 1.931 MB / 1.469 GB, free: 9.66 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000733/1.517, allocations: 246.9 kB / 1.469 GB, free: 9.66 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007192/1.525, allocations: 1.965 MB / 1.471 GB, free: 8.625 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001081/1.526, allocations: 0.6166 MB / 1.472 GB, free: 8.109 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003254/1.529, allocations: 1.462 MB / 1.473 GB, free: 7.121 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/1.54, allocations: 4.384 MB / 1.477 GB, free: 4.184 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.54, allocations: 4 kB / 1.477 GB, free: 4.18 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.096e-06/1.54, allocations: 0 / 1.477 GB, free: 4.18 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001289/1.54, allocations: 0 / 1.477 GB, free: 4.18 MB / 1.154 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.009217/1.549, allocations: 3.249 MB / 1.481 GB, free: 1.738 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.549, allocations: 13.03 kB / 1.481 GB, free: 1.734 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005058/1.554, allocations: 0.8612 MB / 1.481 GB, free: 1.328 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006134/1.561, allocations: 2.345 MB / 1.484 GB, free: 15.53 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/1.561, allocations: 124.8 kB / 1.484 GB, free: 15.47 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002912/1.561, allocations: 166 kB / 1.484 GB, free: 15.42 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004741/1.566, allocations: 1.926 MB / 1.486 GB, free: 14.23 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/1.566, allocations: 0.9375 kB / 1.486 GB, free: 14.23 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/1.566, allocations: 70.62 kB / 1.486 GB, free: 14.18 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/1.566, allocations: 40.72 kB / 1.486 GB, free: 14.18 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005032/1.571, allocations: 1.784 MB / 1.488 GB, free: 12.77 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.01993/1.591, allocations: 8.981 MB / 1.497 GB, free: 3.195 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004725/1.596, allocations: 1.144 MB / 1.498 GB, free: 2.035 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/1.597, allocations: 429.4 kB / 1.498 GB, free: 1.609 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002213/1.599, allocations: 1.719 MB / 1.5 GB, free: 15.5 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/1.599, allocations: 46.55 kB / 1.5 GB, free: 15.45 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 3.617e-06/1.599, allocations: 0 / 1.5 GB, free: 15.45 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.009763/1.609, allocations: 2.339 MB / 1.502 GB, free: 13.05 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/1.609, allocations: 85.11 kB / 1.502 GB, free: 12.95 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004906/1.614, allocations: 2.493 MB / 1.505 GB, free: 10.44 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001885/1.614, allocations: 45.7 kB / 1.505 GB, free: 10.39 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00128/1.615, allocations: 1.05 MB / 1.506 GB, free: 9.336 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/1.616, allocations: 289.6 kB / 1.506 GB, free: 9.051 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000467/1.616, allocations: 254.7 kB / 1.506 GB, free: 8.793 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001775/1.616, allocations: 341.9 kB / 1.506 GB, free: 8.453 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/1.618, allocations: 0.5764 MB / 1.507 GB, free: 7.879 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/1.621, allocations: 0.9504 MB / 1.508 GB, free: 6.777 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/1.624, allocations: 1.256 MB / 1.509 GB, free: 5.414 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/1.624, allocations: 7.938 kB / 1.509 GB, free: 5.406 MB / 1.186 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007272/1.631, allocations: 2.018 MB / 1.511 GB, free: 3.371 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.631, allocations: 12 kB / 1.511 GB, free: 3.359 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.631, allocations: 12.03 kB / 1.511 GB, free: 3.348 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/1.633, allocations: 413.2 kB / 1.512 GB, free: 2.938 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/1.634, allocations: 291.5 kB / 1.512 GB, free: 2.652 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/1.637, allocations: 1.499 MB / 1.513 GB, free: 1.102 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/1.64, allocations: 374.5 kB / 1.514 GB, free: 0.7344 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/1.64, allocations: 55.97 kB / 1.514 GB, free: 0.6797 MB / 1.186 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.001055/1.641, allocations: 461.5 kB / 1.514 GB, free: 224 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000632/1.642, allocations: 258.3 kB / 1.514 GB, free: 15.96 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/1.646, allocations: 1.49 MB / 1.516 GB, free: 14.45 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/1.646, allocations: 15.98 kB / 1.516 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.646, allocations: 0 / 1.516 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.646, allocations: 3.984 kB / 1.516 GB, free: 14.43 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008235/1.654, allocations: 3.591 MB / 1.519 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/1.654, allocations: 11.88 kB / 1.519 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/1.655, allocations: 124.2 kB / 1.52 GB, free: 10.6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/1.656, allocations: 423.4 kB / 1.52 GB, free: 10.18 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/1.657, allocations: 23.98 kB / 1.52 GB, free: 10.16 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002799/1.659, allocations: 1.577 MB / 1.522 GB, free: 8.527 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.659, allocations: 7.969 kB / 1.522 GB, free: 8.52 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006395/1.666, allocations: 1.933 MB / 1.523 GB, free: 6.523 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/1.667, allocations: 0.4912 MB / 1.524 GB, free: 6.012 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003563/1.668, allocations: 19.94 kB / 1.524 GB, free: 5.992 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/1.669, allocations: 135.8 kB / 1.524 GB, free: 5.859 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.669, allocations: 55.86 kB / 1.524 GB, free: 5.805 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/1.669, allocations: 47.91 kB / 1.524 GB, free: 5.758 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00326/1.673, allocations: 1.746 MB / 1.526 GB, free: 4.008 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/1.673, allocations: 0 / 1.526 GB, free: 4.008 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002606/1.675, allocations: 0.6979 MB / 1.527 GB, free: 3.309 MB / 1.201 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.001397/1.677, allocations: 0.626 MB / 1.527 GB, free: 2.684 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004192/1.681, allocations: 1.311 MB / 1.528 GB, free: 1.379 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.681, allocations: 0 / 1.528 GB, free: 1.379 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002367/1.683, allocations: 0.6335 MB / 1.529 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005978/1.689, allocations: 1.331 MB / 1.53 GB, free: 15.43 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006982/1.696, allocations: 3.649 MB / 1.534 GB, free: 11.7 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/1.697, allocations: 1.478 MB / 1.535 GB, free: 10.19 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005865/1.698, allocations: 179.4 kB / 1.536 GB, free: 10.02 MB / 1.217 GB Notification: Performance of SimCode: time 1.042e-06/1.698, allocations: 0 / 1.536 GB, free: 10.02 MB / 1.217 GB Notification: Performance of Templates: time 0.08709/1.785, allocations: 62.73 MB / 1.597 GB, free: 11.56 MB / 1.279 GB [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 400] 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