Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001588/0.001588, allocations: 102.1 kB / 19.7 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.001951/0.001951, allocations: 218.9 kB / 23.01 MB, free: 4.609 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.941/2.941, allocations: 476.7 MB / 0.7714 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002115/0.002115, allocations: 65.5 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4055, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08263/0.4881, allocations: 72 MB / 1.355 GB, free: 2.977 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02837/0.5165, allocations: 19.11 MB / 1.374 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/0.5197, allocations: 91.25 kB / 1.374 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.5225, allocations: 0.8501 MB / 1.374 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009237/0.5318, allocations: 3.064 MB / 1.377 GB, free: 11.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004965/0.5367, allocations: 1.717 MB / 1.379 GB, free: 10.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00747/0.5442, allocations: 4.097 MB / 1.383 GB, free: 5.977 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002449/0.5467, allocations: 1.153 MB / 1.384 GB, free: 4.781 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00527/0.5519, allocations: 1.859 MB / 1.386 GB, free: 2.918 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/0.5548, allocations: 1.241 MB / 1.387 GB, free: 1.672 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004305/0.5552, allocations: 176 kB / 1.387 GB, free: 1.5 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003829/0.559, allocations: 1.49 MB / 1.389 GB, free: 8 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005416/0.5596, allocations: 402.4 kB / 1.389 GB, free: 15.61 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.5612, allocations: 0.9216 MB / 1.39 GB, free: 14.69 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006588/0.5677, allocations: 3.146 MB / 1.393 GB, free: 11.53 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5677, allocations: 0 / 1.393 GB, free: 11.53 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5677, allocations: 0 / 1.393 GB, free: 11.53 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.603e-05/0.5678, allocations: 0 / 1.393 GB, free: 11.53 MB / 1.092 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.004302/0.5721, allocations: 2.015 MB / 1.395 GB, free: 9.469 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.5721, allocations: 8.031 kB / 1.395 GB, free: 9.461 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.5744, allocations: 451.4 kB / 1.396 GB, free: 9.02 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003254/0.5777, allocations: 1.508 MB / 1.397 GB, free: 7.465 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.987e-05/0.5778, allocations: 82.03 kB / 1.397 GB, free: 7.383 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.5779, allocations: 108 kB / 1.397 GB, free: 7.277 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.5806, allocations: 1.313 MB / 1.399 GB, free: 5.855 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.5806, allocations: 4 kB / 1.399 GB, free: 5.852 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.5807, allocations: 44 kB / 1.399 GB, free: 5.809 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/0.5808, allocations: 24 kB / 1.399 GB, free: 5.785 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/0.5835, allocations: 1.108 MB / 1.4 GB, free: 4.676 MB / 1.092 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.01044/0.5939, allocations: 7.385 MB / 1.407 GB, free: 12.79 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/0.5971, allocations: 0.7767 MB / 1.408 GB, free: 12.01 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00063/0.5977, allocations: 262 kB / 1.408 GB, free: 11.75 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/0.5982, allocations: 164.3 kB / 1.408 GB, free: 11.59 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.5983, allocations: 42.98 kB / 1.408 GB, free: 11.54 MB / 1.108 GB Notification: Performance of pre-optimization done (n=48): time 2.215e-06/0.5983, allocations: 0 / 1.408 GB, free: 11.54 MB / 1.108 GB Notification: Performance of matching and sorting (n=48): time 0.004878/0.6032, allocations: 1.264 MB / 1.409 GB, free: 10.27 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.6032, allocations: 55.84 kB / 1.409 GB, free: 10.2 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/0.606, allocations: 1.542 MB / 1.411 GB, free: 8.648 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.6061, allocations: 41.7 kB / 1.411 GB, free: 8.602 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006967/0.6068, allocations: 0.6895 MB / 1.412 GB, free: 7.906 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.607, allocations: 182.5 kB / 1.412 GB, free: 7.727 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/0.6073, allocations: 170.5 kB / 1.412 GB, free: 7.555 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.6075, allocations: 333.9 kB / 1.412 GB, free: 7.223 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009845/0.6085, allocations: 365.8 kB / 1.413 GB, free: 6.867 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.6098, allocations: 0.6584 MB / 1.413 GB, free: 6.086 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.6117, allocations: 0.8819 MB / 1.414 GB, free: 5.098 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.6117, allocations: 7.938 kB / 1.414 GB, free: 5.09 MB / 1.108 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003219/0.6149, allocations: 1.197 MB / 1.415 GB, free: 3.883 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.6149, allocations: 8 kB / 1.415 GB, free: 3.875 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.6149, allocations: 8 kB / 1.415 GB, free: 3.867 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009783/0.6159, allocations: 228.6 kB / 1.416 GB, free: 3.641 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007856/0.6167, allocations: 187.7 kB / 1.416 GB, free: 3.457 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009769/0.6177, allocations: 0.7124 MB / 1.417 GB, free: 2.719 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.6193, allocations: 223.1 kB / 1.417 GB, free: 2.5 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.6194, allocations: 43.92 kB / 1.417 GB, free: 2.457 MB / 1.108 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.0007105/0.6201, allocations: 361.6 kB / 1.417 GB, free: 2.094 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.6205, allocations: 151 kB / 1.417 GB, free: 1.945 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.6231, allocations: 1.161 MB / 1.418 GB, free: 0.7656 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.6231, allocations: 15.94 kB / 1.418 GB, free: 0.75 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6231, allocations: 4 kB / 1.418 GB, free: 0.7461 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.6231, allocations: 3.984 kB / 1.418 GB, free: 0.7422 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005612/0.6287, allocations: 2.491 MB / 1.421 GB, free: 14.18 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.6287, allocations: 192 / 1.421 GB, free: 14.18 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.6291, allocations: 87.88 kB / 1.421 GB, free: 14.09 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008011/0.6299, allocations: 208.6 kB / 1.421 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.6299, allocations: 15.98 kB / 1.421 GB, free: 13.87 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.6313, allocations: 0.7708 MB / 1.422 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6313, allocations: 4.031 kB / 1.422 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/0.6348, allocations: 1.226 MB / 1.423 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008049/0.6356, allocations: 278.6 kB / 1.423 GB, free: 11.53 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.6358, allocations: 19.94 kB / 1.423 GB, free: 11.51 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008756/0.6367, allocations: 67.92 kB / 1.423 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/0.6368, allocations: 40.42 kB / 1.423 GB, free: 11.4 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/0.6368, allocations: 27.98 kB / 1.424 GB, free: 11.38 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001958/0.6388, allocations: 1.086 MB / 1.425 GB, free: 10.29 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6388, allocations: 4 kB / 1.425 GB, free: 10.29 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001517/0.6403, allocations: 455.1 kB / 1.425 GB, free: 9.844 MB / 1.123 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.0008838/0.6412, allocations: 466 kB / 1.425 GB, free: 9.383 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002364/0.6436, allocations: 0.8326 MB / 1.426 GB, free: 8.555 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6436, allocations: 0 / 1.426 GB, free: 8.555 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.6449, allocations: 423.3 kB / 1.427 GB, free: 8.141 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/0.6483, allocations: 0.7451 MB / 1.427 GB, free: 7.402 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004542/0.6528, allocations: 2.328 MB / 1.43 GB, free: 5.016 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000903/0.6537, allocations: 1.165 MB / 1.431 GB, free: 3.82 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.6541, allocations: 123.4 kB / 1.431 GB, free: 3.699 MB / 1.123 GB Notification: Performance of SimCode: time 1.102e-06/0.6541, allocations: 3.938 kB / 1.431 GB, free: 3.695 MB / 1.123 GB Notification: Performance of Templates: time 0.05172/0.7059, allocations: 34.34 MB / 1.464 GB, free: 1.562 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.801178961002734]