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.001963/0.001963, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.002504/0.002504, allocations: 160.1 kB / 23.01 MB, free: 4.938 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.516/1.516, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.865/2.865, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 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.002081/0.002081, allocations: 71.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.872/0.8741, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1326/1.007, allocations: 121.8 MB / 1.306 GB, free: 9.945 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03569/1.042, allocations: 21.62 MB / 1.327 GB, free: 6.484 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004927/1.047, allocations: 170.5 kB / 1.327 GB, free: 6.316 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.004596/1.052, allocations: 1.483 MB / 1.328 GB, free: 4.824 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01386/1.066, allocations: 4.345 MB / 1.333 GB, free: 472 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006918/1.073, allocations: 2.202 MB / 1.335 GB, free: 14.28 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01063/1.083, allocations: 6.571 MB / 1.341 GB, free: 7.688 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003499/1.087, allocations: 1.813 MB / 1.343 GB, free: 5.82 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007889/1.095, allocations: 3.18 MB / 1.346 GB, free: 2.637 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003754/1.098, allocations: 1.824 MB / 1.348 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005151/1.099, allocations: 248 kB / 1.348 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003891/1.103, allocations: 1.583 MB / 1.35 GB, free: 14.98 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006584/1.104, allocations: 0.6185 MB / 1.35 GB, free: 14.36 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001555/1.105, allocations: 1.166 MB / 1.351 GB, free: 13.18 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006498/1.112, allocations: 4.391 MB / 1.356 GB, free: 8.781 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.112, allocations: 0 / 1.356 GB, free: 8.781 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.733e-06/1.112, allocations: 0 / 1.356 GB, free: 8.781 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.003e-05/1.112, allocations: 0 / 1.356 GB, free: 8.781 MB / 1.201 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.005952/1.118, allocations: 3.206 MB / 1.359 GB, free: 5.504 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.118, allocations: 16.03 kB / 1.359 GB, free: 5.488 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00462/1.122, allocations: 0.853 MB / 1.36 GB, free: 4.633 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004942/1.127, allocations: 2.285 MB / 1.362 GB, free: 2.262 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/1.127, allocations: 127 kB / 1.362 GB, free: 2.137 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/1.128, allocations: 164 kB / 1.362 GB, free: 1.977 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004347/1.132, allocations: 2.002 MB / 1.364 GB, free: 15.89 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/1.132, allocations: 4 kB / 1.364 GB, free: 15.88 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/1.132, allocations: 64 kB / 1.364 GB, free: 15.82 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/1.132, allocations: 43.94 kB / 1.364 GB, free: 15.78 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00495/1.137, allocations: 1.796 MB / 1.366 GB, free: 13.98 MB / 1.217 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.01191/1.149, allocations: 6.151 MB / 1.372 GB, free: 7.691 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004619/1.154, allocations: 1.147 MB / 1.373 GB, free: 6.527 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/1.155, allocations: 433.4 kB / 1.373 GB, free: 6.098 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005003/1.155, allocations: 159.9 kB / 1.374 GB, free: 5.941 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/1.155, allocations: 38.56 kB / 1.374 GB, free: 5.895 MB / 1.217 GB Notification: Performance of pre-optimization done (n=76): time 5.01e-06/1.155, allocations: 3.984 kB / 1.374 GB, free: 5.891 MB / 1.217 GB Notification: Performance of matching and sorting (n=76): time 0.009118/1.164, allocations: 2.14 MB / 1.376 GB, free: 3.738 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/1.165, allocations: 97.05 kB / 1.376 GB, free: 3.625 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003438/1.168, allocations: 1.997 MB / 1.378 GB, free: 1.594 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/1.168, allocations: 53.62 kB / 1.378 GB, free: 1.535 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009703/1.169, allocations: 1.086 MB / 1.379 GB, free: 448 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/1.169, allocations: 293.6 kB / 1.379 GB, free: 152 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004448/1.17, allocations: 254.7 kB / 1.379 GB, free: 15.89 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.17, allocations: 349.9 kB / 1.38 GB, free: 15.55 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/1.172, allocations: 0.5725 MB / 1.38 GB, free: 14.97 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002625/1.174, allocations: 1.615 MB / 1.382 GB, free: 13.05 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003256/1.178, allocations: 1.249 MB / 1.383 GB, free: 11.69 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.178, allocations: 0 / 1.383 GB, free: 11.69 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006854/1.185, allocations: 1.977 MB / 1.385 GB, free: 9.699 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/1.185, allocations: 11.94 kB / 1.385 GB, free: 9.688 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.185, allocations: 11.94 kB / 1.385 GB, free: 9.676 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/1.187, allocations: 493.4 kB / 1.386 GB, free: 9.188 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/1.188, allocations: 275.6 kB / 1.386 GB, free: 8.918 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/1.19, allocations: 1.525 MB / 1.387 GB, free: 7.344 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/1.193, allocations: 287.2 kB / 1.388 GB, free: 7.062 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/1.193, allocations: 63.95 kB / 1.388 GB, free: 7 MB / 1.232 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.0009002/1.194, allocations: 465.5 kB / 1.388 GB, free: 6.535 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/1.194, allocations: 206.6 kB / 1.388 GB, free: 6.332 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003877/1.198, allocations: 1.484 MB / 1.39 GB, free: 4.832 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/1.198, allocations: 11.98 kB / 1.39 GB, free: 4.82 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/1.198, allocations: 0 / 1.39 GB, free: 4.82 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.198, allocations: 3.984 kB / 1.39 GB, free: 4.816 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00791/1.206, allocations: 3.171 MB / 1.393 GB, free: 1.559 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/1.206, allocations: 0 / 1.393 GB, free: 1.559 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009583/1.207, allocations: 136.1 kB / 1.393 GB, free: 1.426 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002153/1.209, allocations: 495 kB / 1.393 GB, free: 0.9375 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-05/1.209, allocations: 23.97 kB / 1.393 GB, free: 0.9141 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003148/1.212, allocations: 1.585 MB / 1.395 GB, free: 15.28 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.212, allocations: 7.938 kB / 1.395 GB, free: 15.27 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006665/1.219, allocations: 1.903 MB / 1.397 GB, free: 13.31 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.22, allocations: 368.1 kB / 1.397 GB, free: 12.95 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/1.22, allocations: 19.98 kB / 1.397 GB, free: 12.93 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.222, allocations: 123.8 kB / 1.397 GB, free: 12.8 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.222, allocations: 59.83 kB / 1.397 GB, free: 12.75 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.717e-05/1.222, allocations: 43.97 kB / 1.397 GB, free: 12.7 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002642/1.225, allocations: 1.396 MB / 1.399 GB, free: 11.29 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.4e-07/1.225, allocations: 0 / 1.399 GB, free: 11.29 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00216/1.227, allocations: 0.748 MB / 1.4 GB, free: 10.54 MB / 1.248 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.001179/1.228, allocations: 0.5986 MB / 1.4 GB, free: 9.93 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004517/1.233, allocations: 1.308 MB / 1.401 GB, free: 8.621 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.233, allocations: 0 / 1.401 GB, free: 8.621 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002625/1.235, allocations: 0.6557 MB / 1.402 GB, free: 7.965 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004174/1.239, allocations: 0.8588 MB / 1.403 GB, free: 7.125 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007157/1.246, allocations: 3.571 MB / 1.406 GB, free: 3.48 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.248, allocations: 0.9233 MB / 1.407 GB, free: 2.52 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001494/1.249, allocations: 362.9 kB / 1.408 GB, free: 2.164 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/1.249, allocations: 144.5 kB / 1.408 GB, free: 2.023 MB / 1.248 GB Notification: Performance of SimCode: time 7.51e-07/1.249, allocations: 0 / 1.408 GB, free: 2.023 MB / 1.248 GB Notification: Performance of Templates: time 0.07819/1.328, allocations: 41.18 MB / 1.448 GB, free: 9.609 MB / 1.295 GB " [Timeout remaining time 299] 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 -s ida -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: 10.540661355946213]