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.001554/0.001554, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001643/0.001643, allocations: 217 kB / 22.25 MB, free: 5.082 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.607/1.607, allocations: 230.6 MB / 256 MB, free: 8.031 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.577/3.577, allocations: 0.5096 GB / 0.8147 GB, free: 17.21 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.002188/0.002188, allocations: 61.84 kB / 1.184 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.503/0.5052, allocations: 181.4 MB / 1.361 GB, free: 176 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1658/0.671, allocations: 135.2 MB / 1.494 GB, free: 8.461 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04145/0.7124, allocations: 23.35 MB / 1.516 GB, free: 1.059 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007362/0.7198, allocations: 170.5 kB / 1.516 GB, free: 0.8906 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006402/0.7262, allocations: 1.553 MB / 1.518 GB, free: 15.33 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01797/0.7442, allocations: 4.376 MB / 1.522 GB, free: 10.93 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.008264/0.7524, allocations: 2.262 MB / 1.524 GB, free: 8.691 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01485/0.7673, allocations: 6.601 MB / 1.531 GB, free: 2.066 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004799/0.7721, allocations: 1.852 MB / 1.533 GB, free: 164 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/0.7829, allocations: 3.14 MB / 1.536 GB, free: 13.02 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005556/0.7884, allocations: 1.933 MB / 1.538 GB, free: 11.07 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0008933/0.7893, allocations: 248 kB / 1.538 GB, free: 10.83 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006812/0.7961, allocations: 2.055 MB / 1.54 GB, free: 8.773 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0009916/0.7971, allocations: 0.6223 MB / 1.541 GB, free: 8.148 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.00306/0.8002, allocations: 1.469 MB / 1.542 GB, free: 6.672 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.8109, allocations: 4.469 MB / 1.546 GB, free: 2.188 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.8109, allocations: 0 / 1.546 GB, free: 2.188 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8109, allocations: 0 / 1.546 GB, free: 2.188 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001023/0.811, allocations: 0 / 1.546 GB, free: 2.188 MB / 1.232 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.00774/0.8187, allocations: 3.218 MB / 1.549 GB, free: 14.9 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.8188, allocations: 8.031 kB / 1.549 GB, free: 14.89 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/0.8234, allocations: 0.853 MB / 1.55 GB, free: 14.04 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005651/0.829, allocations: 2.284 MB / 1.553 GB, free: 11.66 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.8292, allocations: 131 kB / 1.553 GB, free: 11.54 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/0.8295, allocations: 160 kB / 1.553 GB, free: 11.38 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004671/0.8342, allocations: 1.93 MB / 1.555 GB, free: 9.383 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.8342, allocations: 0 / 1.555 GB, free: 9.383 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.8344, allocations: 64 kB / 1.555 GB, free: 9.32 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/0.8344, allocations: 39.94 kB / 1.555 GB, free: 9.281 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005101/0.8395, allocations: 1.807 MB / 1.557 GB, free: 7.473 MB / 1.248 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.01658/0.8561, allocations: 8.854 MB / 1.565 GB, free: 14.03 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004411/0.8605, allocations: 1.151 MB / 1.566 GB, free: 12.86 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.8616, allocations: 437.6 kB / 1.567 GB, free: 12.43 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005413/0.8622, allocations: 155.8 kB / 1.567 GB, free: 12.28 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.8622, allocations: 50.55 kB / 1.567 GB, free: 12.22 MB / 1.264 GB Notification: Performance of pre-optimization done (n=76): time 3.928e-06/0.8622, allocations: 0 / 1.567 GB, free: 12.22 MB / 1.264 GB Notification: Performance of matching and sorting (n=76): time 0.009169/0.8714, allocations: 2.176 MB / 1.569 GB, free: 10.03 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.8715, allocations: 85.11 kB / 1.569 GB, free: 9.926 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004916/0.8764, allocations: 2.548 MB / 1.572 GB, free: 7.359 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0002206/0.8766, allocations: 41.7 kB / 1.572 GB, free: 7.312 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.8778, allocations: 1.055 MB / 1.573 GB, free: 6.25 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.8781, allocations: 285.6 kB / 1.573 GB, free: 5.969 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000489/0.8786, allocations: 262.7 kB / 1.573 GB, free: 5.707 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.8788, allocations: 349.9 kB / 1.574 GB, free: 5.359 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.8805, allocations: 0.5686 MB / 1.574 GB, free: 4.789 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/0.8827, allocations: 0.9582 MB / 1.575 GB, free: 3.684 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003096/0.8858, allocations: 1.252 MB / 1.576 GB, free: 2.324 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/0.8858, allocations: 3.938 kB / 1.576 GB, free: 2.32 MB / 1.264 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006963/0.8928, allocations: 2.026 MB / 1.578 GB, free: 284 kB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.8928, allocations: 8 kB / 1.578 GB, free: 276 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.8928, allocations: 12 kB / 1.578 GB, free: 264 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/0.8949, allocations: 0.4959 MB / 1.579 GB, free: 15.76 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.8962, allocations: 279.6 kB / 1.579 GB, free: 15.48 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.8986, allocations: 1.526 MB / 1.581 GB, free: 13.91 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/0.9018, allocations: 366.5 kB / 1.581 GB, free: 13.55 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.902, allocations: 63.95 kB / 1.581 GB, free: 13.48 MB / 1.279 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.001115/0.9031, allocations: 466.8 kB / 1.581 GB, free: 13.02 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006644/0.9037, allocations: 258.3 kB / 1.582 GB, free: 12.77 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/0.9076, allocations: 1.51 MB / 1.583 GB, free: 11.24 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/0.9076, allocations: 12 kB / 1.583 GB, free: 11.23 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.9076, allocations: 3.984 kB / 1.583 GB, free: 11.23 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.9076, allocations: 3.984 kB / 1.583 GB, free: 11.22 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008331/0.9159, allocations: 3.611 MB / 1.587 GB, free: 7.508 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.9159, allocations: 4 kB / 1.587 GB, free: 7.504 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006586/0.9166, allocations: 132.1 kB / 1.587 GB, free: 7.375 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001846/0.9185, allocations: 485.1 kB / 1.587 GB, free: 6.895 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/0.9185, allocations: 27.97 kB / 1.587 GB, free: 6.867 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/0.9214, allocations: 1.587 MB / 1.589 GB, free: 5.23 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.9214, allocations: 4 kB / 1.589 GB, free: 5.227 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006926/0.9283, allocations: 1.96 MB / 1.591 GB, free: 3.199 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/0.9301, allocations: 427.8 kB / 1.591 GB, free: 2.777 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000503/0.9306, allocations: 27.92 kB / 1.591 GB, free: 2.75 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/0.9324, allocations: 135.8 kB / 1.591 GB, free: 2.617 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.9325, allocations: 63.77 kB / 1.591 GB, free: 2.555 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.9326, allocations: 39.97 kB / 1.591 GB, free: 2.516 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003422/0.9361, allocations: 1.785 MB / 1.593 GB, free: 0.7266 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.9361, allocations: 192 / 1.593 GB, free: 0.7266 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00294/0.939, allocations: 0.7019 MB / 1.594 GB, free: 24 kB / 1.279 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.001539/0.9405, allocations: 0.5981 MB / 1.594 GB, free: 15.41 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004571/0.9451, allocations: 1.303 MB / 1.596 GB, free: 14.11 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.9451, allocations: 4 kB / 1.596 GB, free: 14.11 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002471/0.9476, allocations: 0.6467 MB / 1.596 GB, free: 13.46 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00708/0.9547, allocations: 1.324 MB / 1.598 GB, free: 12.16 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00829/0.963, allocations: 3.638 MB / 1.601 GB, free: 8.445 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.9644, allocations: 1.493 MB / 1.603 GB, free: 6.918 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002397/0.9668, allocations: 442.2 kB / 1.603 GB, free: 6.484 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/0.9673, allocations: 171.4 kB / 1.603 GB, free: 6.316 MB / 1.295 GB Notification: Performance of SimCode: time 2.434e-06/0.9673, allocations: 0 / 1.603 GB, free: 6.316 MB / 1.295 GB Notification: Performance of Templates: time 0.9514/1.919, allocations: 49.9 MB / 1.652 GB, free: 225.4 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/jenkins/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: 13.441945562139153]