Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001645/0.001645, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002088/0.002088, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.344/3.344, allocations: 0.49 GB / 0.7958 GB, free: 33.46 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.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [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.002684/0.002684, allocations: 73.44 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4433, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08084/0.5241, allocations: 72.11 MB / 1.398 GB, free: 9.117 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02899/0.5531, allocations: 19.13 MB / 1.416 GB, free: 5.938 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003561/0.5567, allocations: 99.12 kB / 1.416 GB, free: 5.84 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003297/0.56, allocations: 0.8462 MB / 1.417 GB, free: 4.988 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.57, allocations: 3.06 MB / 1.42 GB, free: 1.914 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005138/0.5752, allocations: 1.713 MB / 1.422 GB, free: 212 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007458/0.5826, allocations: 4.077 MB / 1.426 GB, free: 12.12 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.5852, allocations: 1.153 MB / 1.427 GB, free: 10.93 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005753/0.5909, allocations: 1.98 MB / 1.429 GB, free: 8.945 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003025/0.5939, allocations: 1.218 MB / 1.43 GB, free: 7.723 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004529/0.5944, allocations: 176 kB / 1.43 GB, free: 7.551 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004056/0.5984, allocations: 1.486 MB / 1.432 GB, free: 6.062 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005689/0.599, allocations: 402.4 kB / 1.432 GB, free: 5.668 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.6006, allocations: 0.9293 MB / 1.433 GB, free: 4.734 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00664/0.6073, allocations: 3.146 MB / 1.436 GB, free: 1.578 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.6073, allocations: 0 / 1.436 GB, free: 1.578 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6073, allocations: 0 / 1.436 GB, free: 1.578 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.39e-05/0.6073, allocations: 0 / 1.436 GB, free: 1.578 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004631/0.612, allocations: 2.024 MB / 1.438 GB, free: 15.5 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.612, allocations: 8.031 kB / 1.438 GB, free: 15.5 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/0.6143, allocations: 454 kB / 1.438 GB, free: 15.05 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/0.6177, allocations: 1.523 MB / 1.44 GB, free: 13.48 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.6178, allocations: 78.03 kB / 1.44 GB, free: 13.4 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.6179, allocations: 111.9 kB / 1.44 GB, free: 13.29 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.6207, allocations: 1.317 MB / 1.441 GB, free: 11.87 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.6207, allocations: 7.875 kB / 1.441 GB, free: 11.86 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.6208, allocations: 44 kB / 1.441 GB, free: 11.82 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-05/0.6209, allocations: 24 kB / 1.441 GB, free: 11.79 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/0.6236, allocations: 1.101 MB / 1.443 GB, free: 10.69 MB / 1.139 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.01055/0.6341, allocations: 7.377 MB / 1.45 GB, free: 2.82 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/0.6373, allocations: 0.7721 MB / 1.45 GB, free: 2.039 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006079/0.6379, allocations: 277.9 kB / 1.451 GB, free: 1.762 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000584/0.6385, allocations: 156.3 kB / 1.451 GB, free: 1.609 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.6385, allocations: 39 kB / 1.451 GB, free: 1.562 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 2.805e-06/0.6385, allocations: 0 / 1.451 GB, free: 1.562 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.004922/0.6435, allocations: 1.268 MB / 1.452 GB, free: 296 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.6435, allocations: 55.84 kB / 1.452 GB, free: 224 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002733/0.6462, allocations: 1.55 MB / 1.454 GB, free: 14.66 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.6464, allocations: 37.7 kB / 1.454 GB, free: 14.62 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000707/0.6471, allocations: 0.6896 MB / 1.454 GB, free: 13.92 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.6473, allocations: 182.5 kB / 1.455 GB, free: 13.74 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/0.6476, allocations: 166.5 kB / 1.455 GB, free: 13.57 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.6477, allocations: 341.9 kB / 1.455 GB, free: 13.23 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009766/0.6487, allocations: 369.8 kB / 1.455 GB, free: 12.87 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.65, allocations: 0.6582 MB / 1.456 GB, free: 12.09 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.6518, allocations: 0.8858 MB / 1.457 GB, free: 11.09 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.6518, allocations: 4 kB / 1.457 GB, free: 11.09 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003251/0.6551, allocations: 1.197 MB / 1.458 GB, free: 9.883 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.6551, allocations: 8 kB / 1.458 GB, free: 9.875 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.6551, allocations: 8 kB / 1.458 GB, free: 9.867 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009557/0.6561, allocations: 220.7 kB / 1.458 GB, free: 9.648 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007685/0.6568, allocations: 187.6 kB / 1.459 GB, free: 9.465 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009545/0.6578, allocations: 0.7279 MB / 1.459 GB, free: 8.711 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.6595, allocations: 215 kB / 1.459 GB, free: 8.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.6596, allocations: 43.98 kB / 1.459 GB, free: 8.457 MB / 1.154 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007028/0.6603, allocations: 357.6 kB / 1.46 GB, free: 8.098 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/0.6606, allocations: 162.9 kB / 1.46 GB, free: 7.938 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.6631, allocations: 1.156 MB / 1.461 GB, free: 6.762 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/0.6632, allocations: 8 kB / 1.461 GB, free: 6.754 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6632, allocations: 0 / 1.461 GB, free: 6.754 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.6632, allocations: 3.984 kB / 1.461 GB, free: 6.75 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005539/0.6687, allocations: 2.507 MB / 1.464 GB, free: 4.168 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.6687, allocations: 0 / 1.464 GB, free: 4.168 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/0.6691, allocations: 83.89 kB / 1.464 GB, free: 4.086 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007943/0.6699, allocations: 212.6 kB / 1.464 GB, free: 3.875 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.6699, allocations: 23.98 kB / 1.464 GB, free: 3.852 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.6713, allocations: 0.7708 MB / 1.465 GB, free: 3.055 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6713, allocations: 0 / 1.465 GB, free: 3.055 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003586/0.6749, allocations: 1.226 MB / 1.466 GB, free: 1.789 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009017/0.6758, allocations: 278.7 kB / 1.466 GB, free: 1.516 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.6759, allocations: 12 kB / 1.466 GB, free: 1.504 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008751/0.6768, allocations: 71.92 kB / 1.466 GB, free: 1.434 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.6769, allocations: 48.34 kB / 1.466 GB, free: 1.387 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.209e-05/0.677, allocations: 27.98 kB / 1.466 GB, free: 1.359 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001956/0.679, allocations: 1.086 MB / 1.467 GB, free: 284 kB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/0.679, allocations: 0 / 1.467 GB, free: 284 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.001514/0.6805, allocations: 463 kB / 1.468 GB, free: 15.82 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 Backend phase and start with SimCode phase: time 0.0008725/0.6813, allocations: 460.6 kB / 1.468 GB, free: 15.37 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00231/0.6837, allocations: 0.8325 MB / 1.469 GB, free: 14.54 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.6837, allocations: 3.938 kB / 1.469 GB, free: 14.54 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.6849, allocations: 419.4 kB / 1.469 GB, free: 14.13 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/0.6883, allocations: 0.7475 MB / 1.47 GB, free: 13.39 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/0.6929, allocations: 2.344 MB / 1.472 GB, free: 10.99 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008594/0.6938, allocations: 1.161 MB / 1.474 GB, free: 9.797 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/0.6942, allocations: 123.4 kB / 1.474 GB, free: 9.676 MB / 1.17 GB Notification: Performance of SimCode: time 1.042e-06/0.6942, allocations: 0 / 1.474 GB, free: 9.676 MB / 1.17 GB Notification: Performance of Templates: time 0.05277/0.747, allocations: 34.41 MB / 1.507 GB, free: 7.465 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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: 16.512777988013113]