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.001455/0.001455, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001738/0.001738, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.698/1.698, allocations: 230.6 MB / 256 MB, free: 8.027 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 3.121/3.121, allocations: 476.7 MB / 0.7706 GB, free: 4.324 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.002152/0.002152, allocations: 65.91 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4653, allocations: 170 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09215/0.5574, allocations: 71.99 MB / 1.354 GB, free: 2.984 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03267/0.5901, allocations: 19.12 MB / 1.373 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0042/0.5943, allocations: 95.19 kB / 1.373 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003317/0.5976, allocations: 0.854 MB / 1.374 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01254/0.6101, allocations: 3.06 MB / 1.377 GB, free: 11.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005979/0.6161, allocations: 1.714 MB / 1.378 GB, free: 10.08 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008138/0.6243, allocations: 4.093 MB / 1.382 GB, free: 5.977 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002966/0.6272, allocations: 1.153 MB / 1.384 GB, free: 4.781 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005937/0.6332, allocations: 1.865 MB / 1.385 GB, free: 2.914 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/0.6366, allocations: 1.233 MB / 1.387 GB, free: 1.676 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007498/0.6374, allocations: 176 kB / 1.387 GB, free: 1.504 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005193/0.6426, allocations: 1.493 MB / 1.388 GB, free: 8 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008856/0.6435, allocations: 406.4 kB / 1.389 GB, free: 15.61 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002755/0.6462, allocations: 0.9216 MB / 1.389 GB, free: 14.68 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008086/0.6543, allocations: 3.138 MB / 1.393 GB, free: 11.54 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.6543, allocations: 4 kB / 1.393 GB, free: 11.53 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6543, allocations: 0 / 1.393 GB, free: 11.53 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001266/0.6544, 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.006666/0.6611, allocations: 2.011 MB / 1.394 GB, free: 9.473 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.6612, allocations: 12.02 kB / 1.394 GB, free: 9.461 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002797/0.664, allocations: 447.4 kB / 1.395 GB, free: 9.023 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00443/0.6684, allocations: 1.508 MB / 1.396 GB, free: 7.469 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.6685, allocations: 78.03 kB / 1.396 GB, free: 7.391 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/0.6688, allocations: 108 kB / 1.397 GB, free: 7.285 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003506/0.6724, allocations: 1.317 MB / 1.398 GB, free: 5.859 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.6724, allocations: 0 / 1.398 GB, free: 5.859 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.6725, allocations: 47.94 kB / 1.398 GB, free: 5.812 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.6726, allocations: 24 kB / 1.398 GB, free: 5.789 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003204/0.6758, allocations: 1.104 MB / 1.399 GB, free: 4.684 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.01307/0.6888, allocations: 7.392 MB / 1.406 GB, free: 12.79 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/0.6923, allocations: 0.7667 MB / 1.407 GB, free: 12.02 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006729/0.6929, allocations: 270 kB / 1.407 GB, free: 11.75 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006289/0.6936, allocations: 156.3 kB / 1.407 GB, free: 11.6 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.6936, allocations: 42.94 kB / 1.407 GB, free: 11.55 MB / 1.107 GB Notification: Performance of pre-optimization done (n=48): time 2.334e-06/0.6936, allocations: 0 / 1.407 GB, free: 11.55 MB / 1.107 GB Notification: Performance of matching and sorting (n=48): time 0.005229/0.6988, allocations: 1.264 MB / 1.409 GB, free: 10.27 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.6989, allocations: 59.78 kB / 1.409 GB, free: 10.2 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003512/0.7024, allocations: 1.546 MB / 1.41 GB, free: 8.648 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.7025, allocations: 41.69 kB / 1.41 GB, free: 8.602 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000831/0.7034, allocations: 0.6857 MB / 1.411 GB, free: 7.91 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.7036, allocations: 174.5 kB / 1.411 GB, free: 7.738 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004226/0.704, allocations: 174.5 kB / 1.411 GB, free: 7.562 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002364/0.7043, allocations: 334 kB / 1.412 GB, free: 7.23 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.7053, allocations: 365.8 kB / 1.412 GB, free: 6.875 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.7067, allocations: 0.6584 MB / 1.413 GB, free: 6.094 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.7087, allocations: 0.8858 MB / 1.413 GB, free: 5.102 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/0.7088, allocations: 3.938 kB / 1.413 GB, free: 5.098 MB / 1.107 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003363/0.7121, allocations: 1.193 MB / 1.415 GB, free: 3.895 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.7122, allocations: 8 kB / 1.415 GB, free: 3.887 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.7122, allocations: 11.98 kB / 1.415 GB, free: 3.875 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009663/0.7131, allocations: 224.6 kB / 1.415 GB, free: 3.652 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/0.7139, allocations: 199.7 kB / 1.415 GB, free: 3.457 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009744/0.7149, allocations: 0.7163 MB / 1.416 GB, free: 2.715 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.7166, allocations: 226.9 kB / 1.416 GB, free: 2.492 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.7167, allocations: 43.98 kB / 1.416 GB, free: 2.449 MB / 1.107 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.0007612/0.7174, allocations: 353.6 kB / 1.416 GB, free: 2.094 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/0.7177, allocations: 159 kB / 1.416 GB, free: 1.938 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.7203, allocations: 1.148 MB / 1.418 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/0.7204, allocations: 15.98 kB / 1.418 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.7204, allocations: 0 / 1.418 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.7204, allocations: 3.984 kB / 1.418 GB, free: 0.75 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005652/0.726, allocations: 2.499 MB / 1.42 GB, free: 14.18 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.726, allocations: 0 / 1.42 GB, free: 14.18 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.7264, allocations: 83.88 kB / 1.42 GB, free: 14.09 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007939/0.7272, allocations: 212.8 kB / 1.42 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.7273, allocations: 20 kB / 1.42 GB, free: 13.86 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.7287, allocations: 0.7709 MB / 1.421 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.7287, allocations: 3.938 kB / 1.421 GB, free: 13.06 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/0.7323, allocations: 1.226 MB / 1.422 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008005/0.7331, allocations: 278.6 kB / 1.423 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.7333, allocations: 12 kB / 1.423 GB, free: 11.51 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000878/0.7342, allocations: 75.91 kB / 1.423 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/0.7343, allocations: 40.42 kB / 1.423 GB, free: 11.4 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-05/0.7344, allocations: 31.98 kB / 1.423 GB, free: 11.37 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001987/0.7363, allocations: 1.082 MB / 1.424 GB, free: 10.29 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7363, allocations: 0 / 1.424 GB, free: 10.29 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001553/0.7379, allocations: 459 kB / 1.424 GB, free: 9.84 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.001064/0.739, allocations: 464.5 kB / 1.425 GB, free: 9.379 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002493/0.7414, allocations: 0.8324 MB / 1.425 GB, free: 8.551 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.7415, allocations: 0 / 1.425 GB, free: 8.551 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.7427, allocations: 423.4 kB / 1.426 GB, free: 8.137 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00298/0.7457, allocations: 0.742 MB / 1.427 GB, free: 7.406 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/0.7503, allocations: 2.294 MB / 1.429 GB, free: 5.059 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.7517, allocations: 1.176 MB / 1.43 GB, free: 3.852 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001063/0.7527, allocations: 280 kB / 1.43 GB, free: 3.574 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.753, allocations: 115.4 kB / 1.43 GB, free: 3.461 MB / 1.123 GB Notification: Performance of SimCode: time 1.252e-06/0.753, allocations: 0 / 1.43 GB, free: 3.461 MB / 1.123 GB Notification: Performance of Templates: time 0.06797/0.821, allocations: 32.5 MB / 1.462 GB, free: 3.324 MB / 1.154 GB " [Timeout remaining time 298] 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/jenkins/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: 11.59015056071803]