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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.982/2.982, allocations: 496.2 MB / 0.7819 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] 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=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: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 71.88 kB / 1.136 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 173.6 MB / 1.305 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1571/1.191, allocations: 134.7 MB / 1.437 GB, free: 1.535 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0446/1.236, allocations: 23.32 MB / 1.46 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008693/1.245, allocations: 125 kB / 1.46 GB, free: 0.7305 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00662/1.251, allocations: 1.557 MB / 1.461 GB, free: 15.61 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0183/1.27, allocations: 4.302 MB / 1.466 GB, free: 12.2 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.008922/1.279, allocations: 2.193 MB / 1.468 GB, free: 10.47 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01439/1.293, allocations: 6.513 MB / 1.474 GB, free: 6.578 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004858/1.298, allocations: 1.844 MB / 1.476 GB, free: 5.188 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01064/1.309, allocations: 3.061 MB / 1.479 GB, free: 3.258 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006202/1.315, allocations: 1.937 MB / 1.481 GB, free: 2.051 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001171/1.316, allocations: 246.7 kB / 1.481 GB, free: 2.051 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008275/1.324, allocations: 1.969 MB / 1.483 GB, free: 1.012 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001716/1.326, allocations: 0.6134 MB / 1.484 GB, free: 0.5 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.004775/1.331, allocations: 1.457 MB / 1.485 GB, free: 15.52 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01177/1.342, allocations: 4.39 MB / 1.489 GB, free: 12.32 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.342, allocations: 0 / 1.489 GB, free: 12.32 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.814e-06/1.342, allocations: 0 / 1.489 GB, free: 12.32 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001154/1.343, allocations: 0 / 1.489 GB, free: 12.32 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.007702/1.35, allocations: 3.255 MB / 1.492 GB, free: 8.977 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/1.35, allocations: 8.031 kB / 1.492 GB, free: 8.969 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004715/1.355, allocations: 0.8531 MB / 1.493 GB, free: 8.113 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005775/1.361, allocations: 2.348 MB / 1.496 GB, free: 5.691 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/1.361, allocations: 123 kB / 1.496 GB, free: 5.57 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003895/1.361, allocations: 164 kB / 1.496 GB, free: 5.41 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004568/1.366, allocations: 1.919 MB / 1.498 GB, free: 3.426 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/1.366, allocations: 0 / 1.498 GB, free: 3.426 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/1.366, allocations: 68 kB / 1.498 GB, free: 3.359 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/1.366, allocations: 47.92 kB / 1.498 GB, free: 3.312 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004924/1.371, allocations: 1.776 MB / 1.5 GB, free: 1.535 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.01618/1.387, allocations: 8.993 MB / 1.508 GB, free: 7.941 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004473/1.392, allocations: 1.148 MB / 1.509 GB, free: 6.777 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/1.393, allocations: 425.4 kB / 1.51 GB, free: 6.355 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/1.394, allocations: 1.727 MB / 1.512 GB, free: 4.242 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/1.394, allocations: 42.5 kB / 1.512 GB, free: 4.191 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 2.725e-06/1.394, allocations: 0 / 1.512 GB, free: 4.191 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.009113/1.404, allocations: 2.34 MB / 1.514 GB, free: 1.801 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/1.404, allocations: 93.11 kB / 1.514 GB, free: 1.691 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005031/1.409, allocations: 2.489 MB / 1.516 GB, free: 15.18 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002972/1.409, allocations: 49.7 kB / 1.516 GB, free: 15.13 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/1.41, allocations: 1.047 MB / 1.517 GB, free: 14.07 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004034/1.41, allocations: 289.5 kB / 1.518 GB, free: 13.79 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005035/1.411, allocations: 254.8 kB / 1.518 GB, free: 13.53 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.411, allocations: 345.9 kB / 1.518 GB, free: 13.19 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/1.413, allocations: 0.5763 MB / 1.519 GB, free: 12.61 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/1.415, allocations: 0.9504 MB / 1.52 GB, free: 11.51 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003134/1.418, allocations: 1.24 MB / 1.521 GB, free: 10.16 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.418, allocations: 3.938 kB / 1.521 GB, free: 10.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006827/1.425, allocations: 2.025 MB / 1.523 GB, free: 8.117 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/1.425, allocations: 8 kB / 1.523 GB, free: 8.109 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/1.425, allocations: 8 kB / 1.523 GB, free: 8.102 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001758/1.427, allocations: 425.4 kB / 1.523 GB, free: 7.684 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/1.428, allocations: 283.5 kB / 1.524 GB, free: 7.406 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/1.43, allocations: 1.503 MB / 1.525 GB, free: 5.852 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/1.433, allocations: 366.5 kB / 1.525 GB, free: 5.492 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/1.434, allocations: 63.91 kB / 1.526 GB, free: 5.43 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.0009577/1.434, allocations: 465.5 kB / 1.526 GB, free: 4.965 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005947/1.435, allocations: 262.3 kB / 1.526 GB, free: 4.707 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003719/1.439, allocations: 1.486 MB / 1.528 GB, free: 3.203 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/1.439, allocations: 15.98 kB / 1.528 GB, free: 3.188 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.439, allocations: 0 / 1.528 GB, free: 3.188 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/1.439, allocations: 3.984 kB / 1.528 GB, free: 3.184 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008146/1.447, allocations: 3.6 MB / 1.531 GB, free: 15.47 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.447, allocations: 7.938 kB / 1.531 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/1.448, allocations: 128.2 kB / 1.531 GB, free: 15.34 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/1.449, allocations: 413.2 kB / 1.532 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-05/1.449, allocations: 23.98 kB / 1.532 GB, free: 14.91 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002699/1.452, allocations: 1.575 MB / 1.533 GB, free: 13.28 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.452, allocations: 4 kB / 1.533 GB, free: 13.28 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0063/1.458, allocations: 1.937 MB / 1.535 GB, free: 11.27 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.46, allocations: 495 kB / 1.536 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003698/1.46, allocations: 27.92 kB / 1.536 GB, free: 10.74 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/1.462, allocations: 131.8 kB / 1.536 GB, free: 10.61 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/1.462, allocations: 63.78 kB / 1.536 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/1.462, allocations: 43.91 kB / 1.536 GB, free: 10.51 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0031/1.465, allocations: 1.75 MB / 1.538 GB, free: 8.754 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/1.465, allocations: 3.938 kB / 1.538 GB, free: 8.75 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002427/1.467, allocations: 0.694 MB / 1.538 GB, free: 8.055 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.001369/1.469, allocations: 0.6197 MB / 1.539 GB, free: 7.434 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004184/1.473, allocations: 1.307 MB / 1.54 GB, free: 6.129 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.473, allocations: 4 kB / 1.54 GB, free: 6.125 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/1.475, allocations: 0.6341 MB / 1.541 GB, free: 5.492 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006441/1.482, allocations: 1.323 MB / 1.542 GB, free: 4.188 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009382/1.491, allocations: 3.607 MB / 1.546 GB, free: 0.5039 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1.492, allocations: 1.49 MB / 1.547 GB, free: 14.98 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002331/1.495, allocations: 428.6 kB / 1.548 GB, free: 14.56 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/1.495, allocations: 175.4 kB / 1.548 GB, free: 14.39 MB / 1.232 GB Notification: Performance of SimCode: time 1.282e-06/1.495, allocations: 3.938 kB / 1.548 GB, free: 14.39 MB / 1.232 GB Notification: Performance of Templates: time 0.08777/1.583, allocations: 49.3 MB / 1.596 GB, free: 13.66 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/jenkins/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: 12.009568322449923]