Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.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.001638/0.001638, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001825/0.001825, allocations: 213.7 kB / 23 MB, free: 4.969 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.589/3.589, allocations: 0.49 GB / 0.7959 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.ModularReversible.Validation.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y") translateModel(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y") [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.002072/0.002072, allocations: 66.47 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5178, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.1076/0.6254, allocations: 69.58 MB / 1.395 GB, free: 11.18 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02306/0.6485, allocations: 11.91 MB / 1.407 GB, free: 15.23 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0041/0.6526, allocations: 87.25 kB / 1.407 GB, free: 15.15 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.6555, allocations: 0.8267 MB / 1.408 GB, free: 14.32 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00985/0.6654, allocations: 2.663 MB / 1.41 GB, free: 11.64 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004818/0.6702, allocations: 1.431 MB / 1.412 GB, free: 10.22 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008362/0.6786, allocations: 4.527 MB / 1.416 GB, free: 5.688 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002602/0.6812, allocations: 1.141 MB / 1.417 GB, free: 4.504 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006028/0.6872, allocations: 1.94 MB / 1.419 GB, free: 2.562 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00324/0.6904, allocations: 1.242 MB / 1.42 GB, free: 1.316 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003521/0.6908, allocations: 168 kB / 1.42 GB, free: 1.152 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0039/0.6947, allocations: 1.166 MB / 1.422 GB, free: 15.98 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006165/0.6953, allocations: 418.3 kB / 1.422 GB, free: 15.57 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.6967, allocations: 0.7311 MB / 1.423 GB, free: 14.84 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006296/0.703, allocations: 2.893 MB / 1.425 GB, free: 11.94 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.703, allocations: 4 kB / 1.425 GB, free: 11.93 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.224e-06/0.703, allocations: 0 / 1.425 GB, free: 11.93 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.524e-05/0.7031, allocations: 0 / 1.425 GB, free: 11.93 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005247/0.7083, allocations: 2.087 MB / 1.428 GB, free: 9.793 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.464e-05/0.7084, allocations: 12.03 kB / 1.428 GB, free: 9.781 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009912/0.7094, allocations: 243.7 kB / 1.428 GB, free: 9.543 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003268/0.7126, allocations: 1.497 MB / 1.429 GB, free: 8.004 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.923e-05/0.7127, allocations: 81.98 kB / 1.429 GB, free: 7.922 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.7129, allocations: 108 kB / 1.429 GB, free: 7.816 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.7153, allocations: 1.251 MB / 1.431 GB, free: 6.496 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.7154, allocations: 0 / 1.431 GB, free: 6.496 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.7155, allocations: 40 kB / 1.431 GB, free: 6.457 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.194e-05/0.7155, allocations: 28 kB / 1.431 GB, free: 6.43 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.7175, allocations: 0.8783 MB / 1.432 GB, free: 5.547 MB / 1.123 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.006429/0.7239, allocations: 3.489 MB / 1.435 GB, free: 1.988 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.7253, allocations: 0.5582 MB / 1.436 GB, free: 1.422 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006986/0.726, allocations: 322.1 kB / 1.436 GB, free: 1.105 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003136/0.7263, allocations: 84.39 kB / 1.436 GB, free: 1.023 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.7264, allocations: 43.06 kB / 1.436 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of pre-optimization done (n=61): time 2.825e-06/0.7264, allocations: 0 / 1.436 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of matching and sorting (n=61): time 0.007713/0.7341, allocations: 1.621 MB / 1.438 GB, free: 15.34 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.7342, allocations: 59.91 kB / 1.438 GB, free: 15.27 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.7359, allocations: 1.074 MB / 1.439 GB, free: 14.18 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.736, allocations: 45.64 kB / 1.439 GB, free: 14.13 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006377/0.7366, allocations: 0.6339 MB / 1.439 GB, free: 13.49 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.00029/0.7369, allocations: 234 kB / 1.44 GB, free: 13.26 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.7372, allocations: 154.6 kB / 1.44 GB, free: 13.11 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.7374, allocations: 334 kB / 1.44 GB, free: 12.77 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006922/0.7381, allocations: 288.7 kB / 1.44 GB, free: 12.49 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.7392, allocations: 0.8529 MB / 1.441 GB, free: 11.47 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.7408, allocations: 0.7054 MB / 1.442 GB, free: 10.71 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7408, allocations: 0 / 1.442 GB, free: 10.71 MB / 1.139 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004957/0.7457, allocations: 1.258 MB / 1.443 GB, free: 9.441 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.7457, allocations: 8 kB / 1.443 GB, free: 9.434 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.7458, allocations: 4 kB / 1.443 GB, free: 9.43 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006846/0.7464, allocations: 149 kB / 1.443 GB, free: 9.281 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.7471, allocations: 159.8 kB / 1.443 GB, free: 9.125 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009415/0.748, allocations: 0.6889 MB / 1.444 GB, free: 8.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.7491, allocations: 91.5 kB / 1.444 GB, free: 8.32 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/0.7492, allocations: 35.98 kB / 1.444 GB, free: 8.285 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001223/0.7504, allocations: 0.5582 MB / 1.445 GB, free: 7.723 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001105/0.7515, allocations: 0.853 MB / 1.445 GB, free: 6.703 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001472/0.753, allocations: 0.6898 MB / 1.446 GB, free: 5.965 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.481e-06/0.753, allocations: 4 kB / 1.446 GB, free: 5.961 MB / 1.139 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00479/0.7578, allocations: 1.25 MB / 1.447 GB, free: 4.699 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.7578, allocations: 8.094 kB / 1.447 GB, free: 4.691 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7578, allocations: 7.938 kB / 1.447 GB, free: 4.684 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005591/0.7584, allocations: 153 kB / 1.448 GB, free: 4.531 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/0.759, allocations: 159.8 kB / 1.448 GB, free: 4.375 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008932/0.7599, allocations: 0.7006 MB / 1.448 GB, free: 3.648 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.7609, allocations: 87.61 kB / 1.448 GB, free: 3.562 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.052e-05/0.761, allocations: 35.98 kB / 1.449 GB, free: 3.527 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003264/0.7613, allocations: 220.1 kB / 1.449 GB, free: 3.305 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.7616, allocations: 127.2 kB / 1.449 GB, free: 3.18 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004861/0.7664, allocations: 1.249 MB / 1.45 GB, free: 1.914 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004205/0.7706, allocations: 1.105 MB / 1.451 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.7707, allocations: 0 / 1.451 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008608/0.7715, allocations: 215 kB / 1.451 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.7717, allocations: 15.98 kB / 1.451 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006364/0.7723, allocations: 35.95 kB / 1.451 GB, free: 0.5117 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.7725, allocations: 52.56 kB / 1.451 GB, free: 472 kB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002728/0.7752, allocations: 0.9506 MB / 1.452 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002546/0.7777, allocations: 1.319 MB / 1.454 GB, free: 14.17 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006872/0.7784, allocations: 301 kB / 1.454 GB, free: 13.87 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001247/0.7797, allocations: 0.7484 MB / 1.455 GB, free: 13.12 MB / 1.154 GB Notification: Performance of Backend: time 5.31e-07/0.7797, allocations: 0 / 1.455 GB, free: 13.12 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004002/0.7837, allocations: 1.303 MB / 1.456 GB, free: 11.81 MB / 1.154 GB Notification: Performance of SimCode: time 0.005842/0.7895, allocations: 3.023 MB / 1.459 GB, free: 8.746 MB / 1.154 GB Notification: Performance of Templates: time 0.06022/0.8497, allocations: 33.73 MB / 1.492 GB, free: 7.512 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.sim & ./Buildings_12_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_ModularReversible_Validation_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.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: 11.605744644999504]