Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.001827/0.001827, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001991/0.001991, allocations: 220.4 kB / 23 MB, free: 4.914 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.832 MB / 206.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 3.312/3.312, allocations: 0.5107 GB / 0.8166 GB, free: 17.88 MB / 0.6231 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.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") [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.002117/0.002117, allocations: 67.45 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3653, allocations: 181.9 MB / 1.365 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1482/0.5135, allocations: 121.8 MB / 1.484 GB, free: 3.387 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0366/0.5501, allocations: 21.61 MB / 1.505 GB, free: 13.72 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005491/0.5556, allocations: 170.5 kB / 1.505 GB, free: 13.55 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.005201/0.5608, allocations: 1.487 MB / 1.506 GB, free: 12.06 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0136/0.5744, allocations: 4.349 MB / 1.511 GB, free: 7.691 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006628/0.581, allocations: 2.197 MB / 1.513 GB, free: 5.516 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01141/0.5924, allocations: 6.564 MB / 1.519 GB, free: 14.93 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003975/0.5964, allocations: 1.821 MB / 1.521 GB, free: 13.05 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008919/0.6053, allocations: 3.172 MB / 1.524 GB, free: 9.871 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004305/0.6096, allocations: 1.816 MB / 1.526 GB, free: 8.047 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0008743/0.6105, allocations: 244 kB / 1.526 GB, free: 7.809 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005128/0.6156, allocations: 1.587 MB / 1.528 GB, free: 6.219 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.6166, allocations: 0.6184 MB / 1.528 GB, free: 5.598 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002685/0.6193, allocations: 1.163 MB / 1.529 GB, free: 4.43 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00943/0.6288, allocations: 4.399 MB / 1.534 GB, free: 16 kB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.6288, allocations: 0 / 1.534 GB, free: 16 kB / 1.217 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6288, allocations: 0 / 1.534 GB, free: 16 kB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001226/0.6289, allocations: 0 / 1.534 GB, free: 16 kB / 1.217 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.007503/0.6364, allocations: 3.206 MB / 1.537 GB, free: 12.74 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.6364, allocations: 8.031 kB / 1.537 GB, free: 12.73 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004698/0.6411, allocations: 0.8569 MB / 1.538 GB, free: 11.87 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005909/0.647, allocations: 2.296 MB / 1.54 GB, free: 9.488 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.6472, allocations: 131 kB / 1.54 GB, free: 9.359 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/0.6476, allocations: 160 kB / 1.54 GB, free: 9.203 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004618/0.6522, allocations: 1.998 MB / 1.542 GB, free: 7.121 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/0.6522, allocations: 11.81 kB / 1.542 GB, free: 7.109 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/0.6524, allocations: 67.98 kB / 1.542 GB, free: 7.043 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/0.6524, allocations: 39.94 kB / 1.542 GB, free: 7.004 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005034/0.6574, allocations: 1.796 MB / 1.544 GB, free: 5.207 MB / 1.232 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.01388/0.6713, allocations: 6.15 MB / 1.55 GB, free: 14.91 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004514/0.6758, allocations: 1.144 MB / 1.551 GB, free: 13.75 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.677, allocations: 429.4 kB / 1.551 GB, free: 13.33 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005609/0.6776, allocations: 151.9 kB / 1.552 GB, free: 13.18 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.6776, allocations: 38.56 kB / 1.552 GB, free: 13.13 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 2.585e-06/0.6776, allocations: 0 / 1.552 GB, free: 13.13 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.009208/0.6868, allocations: 2.142 MB / 1.554 GB, free: 10.98 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.6869, allocations: 85.11 kB / 1.554 GB, free: 10.88 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004027/0.6909, allocations: 2.02 MB / 1.556 GB, free: 8.82 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002484/0.6912, allocations: 45.7 kB / 1.556 GB, free: 8.77 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.6922, allocations: 1.087 MB / 1.557 GB, free: 7.672 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/0.6926, allocations: 277.6 kB / 1.557 GB, free: 7.398 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000469/0.6931, allocations: 266.7 kB / 1.557 GB, free: 7.133 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.6933, allocations: 341.9 kB / 1.558 GB, free: 6.793 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.695, allocations: 0.5725 MB / 1.558 GB, free: 6.219 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002637/0.6977, allocations: 1.615 MB / 1.56 GB, free: 4.297 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/0.7009, allocations: 1.252 MB / 1.561 GB, free: 2.938 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.7009, allocations: 4 kB / 1.561 GB, free: 2.934 MB / 1.248 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00698/0.7079, allocations: 1.983 MB / 1.563 GB, free: 0.9336 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.7079, allocations: 8 kB / 1.563 GB, free: 0.9258 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.708, allocations: 8 kB / 1.563 GB, free: 0.918 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/0.7099, allocations: 495.9 kB / 1.564 GB, free: 440 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.7112, allocations: 279.5 kB / 1.564 GB, free: 160 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.7137, allocations: 1.522 MB / 1.565 GB, free: 14.58 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/0.7163, allocations: 291.2 kB / 1.566 GB, free: 14.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/0.7166, allocations: 63.95 kB / 1.566 GB, free: 14.23 MB / 1.264 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.00109/0.7176, allocations: 463 kB / 1.566 GB, free: 13.77 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006688/0.7183, allocations: 210.6 kB / 1.566 GB, free: 13.57 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/0.7222, allocations: 1.477 MB / 1.568 GB, free: 12.08 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.104e-05/0.7223, allocations: 19.98 kB / 1.568 GB, free: 12.06 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.7223, allocations: 0 / 1.568 GB, free: 12.06 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.7223, allocations: 3.984 kB / 1.568 GB, free: 12.05 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008239/0.7305, allocations: 3.164 MB / 1.571 GB, free: 8.805 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.7305, allocations: 8.062 kB / 1.571 GB, free: 8.797 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006267/0.7311, allocations: 131.8 kB / 1.571 GB, free: 8.668 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/0.7329, allocations: 497 kB / 1.571 GB, free: 8.176 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.028e-05/0.733, allocations: 23.98 kB / 1.571 GB, free: 8.152 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/0.7358, allocations: 1.586 MB / 1.573 GB, free: 6.516 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.7358, allocations: 12 kB / 1.573 GB, free: 6.504 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006352/0.7422, allocations: 1.891 MB / 1.575 GB, free: 4.551 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.7435, allocations: 368.2 kB / 1.575 GB, free: 4.188 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.7437, allocations: 23.94 kB / 1.575 GB, free: 4.164 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.7452, allocations: 123.8 kB / 1.575 GB, free: 4.043 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.7453, allocations: 63.83 kB / 1.575 GB, free: 3.98 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-05/0.7454, allocations: 39.97 kB / 1.575 GB, free: 3.941 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002718/0.7481, allocations: 1.4 MB / 1.577 GB, free: 2.523 MB / 1.264 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7481, allocations: 0 / 1.577 GB, free: 2.523 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002448/0.7506, allocations: 0.7404 MB / 1.578 GB, free: 1.781 MB / 1.264 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00113/0.7517, allocations: 0.6102 MB / 1.578 GB, free: 1.16 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004397/0.7561, allocations: 1.303 MB / 1.579 GB, free: 15.86 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.7561, allocations: 0 / 1.579 GB, free: 15.86 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002586/0.7587, allocations: 0.6544 MB / 1.58 GB, free: 15.21 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00422/0.7629, allocations: 0.8665 MB / 1.581 GB, free: 14.36 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007459/0.7704, allocations: 3.6 MB / 1.584 GB, free: 10.68 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.7715, allocations: 0.9194 MB / 1.585 GB, free: 9.719 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006895/0.7722, allocations: 151.4 kB / 1.585 GB, free: 9.57 MB / 1.279 GB Notification: Performance of SimCode: time 9.62e-07/0.7722, allocations: 0 / 1.585 GB, free: 9.57 MB / 1.279 GB Notification: Performance of Templates: time 0.7513/1.524, allocations: 58.59 MB / 1.643 GB, free: 230 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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: 18.085893367882818]