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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 194 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.871/2.871, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 63.89 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8877/0.8898, allocations: 168.7 MB / 1.274 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07755/0.9673, allocations: 71.69 MB / 1.344 GB, free: 12.49 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02627/0.9936, allocations: 19.08 MB / 1.363 GB, free: 9.359 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002912/0.9965, allocations: 71.56 kB / 1.363 GB, free: 9.289 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002969/0.9995, allocations: 0.854 MB / 1.364 GB, free: 8.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01255/1.012, allocations: 3.007 MB / 1.367 GB, free: 5.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005729/1.018, allocations: 1.666 MB / 1.368 GB, free: 3.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006544/1.024, allocations: 4.065 MB / 1.372 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/1.027, allocations: 1.16 MB / 1.373 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004619/1.031, allocations: 1.815 MB / 1.375 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/1.034, allocations: 1.229 MB / 1.376 GB, free: 11.42 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004158/1.034, allocations: 176 kB / 1.376 GB, free: 11.25 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003649/1.038, allocations: 1.447 MB / 1.378 GB, free: 9.801 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005451/1.038, allocations: 402.4 kB / 1.378 GB, free: 9.406 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001577/1.04, allocations: 0.9176 MB / 1.379 GB, free: 8.484 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00579/1.046, allocations: 3.107 MB / 1.382 GB, free: 5.367 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.046, allocations: 0 / 1.382 GB, free: 5.367 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.723e-06/1.046, allocations: 0 / 1.382 GB, free: 5.367 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.912e-05/1.046, allocations: 4 kB / 1.382 GB, free: 5.363 MB / 1.076 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.004275/1.05, allocations: 2.087 MB / 1.384 GB, free: 3.211 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.05, allocations: 12.03 kB / 1.384 GB, free: 3.199 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/1.052, allocations: 455.4 kB / 1.385 GB, free: 2.754 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/1.056, allocations: 1.564 MB / 1.386 GB, free: 1.133 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.338e-05/1.056, allocations: 78.03 kB / 1.386 GB, free: 1.055 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/1.056, allocations: 104 kB / 1.386 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/1.058, allocations: 1.317 MB / 1.388 GB, free: 15.53 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/1.058, allocations: 3.938 kB / 1.388 GB, free: 15.52 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/1.059, allocations: 48 kB / 1.388 GB, free: 15.48 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/1.059, allocations: 28 kB / 1.388 GB, free: 15.45 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/1.061, allocations: 1.097 MB / 1.389 GB, free: 14.35 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.009973/1.071, allocations: 7.518 MB / 1.396 GB, free: 6.316 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/1.075, allocations: 0.7783 MB / 1.397 GB, free: 5.531 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006374/1.075, allocations: 258 kB / 1.397 GB, free: 5.273 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/1.077, allocations: 1.718 MB / 1.399 GB, free: 3.168 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/1.077, allocations: 39 kB / 1.399 GB, free: 3.121 MB / 1.092 GB Notification: Performance of pre-optimization done (n=48): time 2.274e-06/1.077, allocations: 0 / 1.399 GB, free: 3.121 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.005318/1.082, allocations: 1.347 MB / 1.4 GB, free: 1.746 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/1.082, allocations: 55.84 kB / 1.4 GB, free: 1.68 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/1.085, allocations: 1.546 MB / 1.402 GB, free: 128 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/1.085, allocations: 37.7 kB / 1.402 GB, free: 84 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000762/1.086, allocations: 0.6779 MB / 1.402 GB, free: 15.4 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/1.086, allocations: 182.5 kB / 1.403 GB, free: 15.22 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/1.086, allocations: 178.5 kB / 1.403 GB, free: 15.04 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002038/1.087, allocations: 330 kB / 1.403 GB, free: 14.71 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/1.088, allocations: 365.8 kB / 1.403 GB, free: 14.36 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/1.089, allocations: 0.6621 MB / 1.404 GB, free: 13.57 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/1.091, allocations: 0.8868 MB / 1.405 GB, free: 12.57 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/1.091, allocations: 11.94 kB / 1.405 GB, free: 12.56 MB / 1.107 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003433/1.095, allocations: 1.194 MB / 1.406 GB, free: 11.36 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/1.095, allocations: 14.03 kB / 1.406 GB, free: 11.35 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.095, allocations: 11.94 kB / 1.406 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009989/1.096, allocations: 220.5 kB / 1.406 GB, free: 11.12 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008169/1.096, allocations: 195.7 kB / 1.407 GB, free: 10.93 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009945/1.097, allocations: 0.7278 MB / 1.407 GB, free: 10.17 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/1.099, allocations: 215 kB / 1.407 GB, free: 9.961 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.099, allocations: 43.98 kB / 1.407 GB, free: 9.918 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.0006948/1.1, allocations: 357.5 kB / 1.408 GB, free: 9.559 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/1.1, allocations: 159 kB / 1.408 GB, free: 9.402 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/1.103, allocations: 1.129 MB / 1.409 GB, free: 8.254 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/1.103, allocations: 8 kB / 1.409 GB, free: 8.246 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.103, allocations: 0 / 1.409 GB, free: 8.246 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.103, allocations: 3.984 kB / 1.409 GB, free: 8.242 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005883/1.109, allocations: 2.506 MB / 1.412 GB, free: 5.656 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.109, allocations: 4 kB / 1.412 GB, free: 5.652 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/1.109, allocations: 91.81 kB / 1.412 GB, free: 5.562 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007909/1.11, allocations: 208.8 kB / 1.412 GB, free: 5.355 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/1.11, allocations: 16 kB / 1.412 GB, free: 5.34 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/1.111, allocations: 0.7747 MB / 1.413 GB, free: 4.539 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.111, allocations: 4.031 kB / 1.413 GB, free: 4.535 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/1.115, allocations: 1.204 MB / 1.414 GB, free: 3.285 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007945/1.116, allocations: 363.7 kB / 1.414 GB, free: 2.91 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/1.116, allocations: 12 kB / 1.414 GB, free: 2.898 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009015/1.117, allocations: 71.91 kB / 1.414 GB, free: 2.828 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/1.117, allocations: 40.45 kB / 1.414 GB, free: 2.789 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.925e-05/1.117, allocations: 23.98 kB / 1.414 GB, free: 2.766 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001959/1.119, allocations: 1.09 MB / 1.415 GB, free: 1.68 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.119, allocations: 0 / 1.415 GB, free: 1.68 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001427/1.121, allocations: 447.1 kB / 1.416 GB, free: 1.242 MB / 1.107 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.001028/1.122, allocations: 491.8 kB / 1.416 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002439/1.124, allocations: 0.8174 MB / 1.417 GB, free: 15.95 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.124, allocations: 0 / 1.417 GB, free: 15.95 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.126, allocations: 415.6 kB / 1.417 GB, free: 15.54 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003538/1.129, allocations: 0.7452 MB / 1.418 GB, free: 14.81 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00443/1.133, allocations: 2.301 MB / 1.42 GB, free: 12.45 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009954/1.134, allocations: 1.176 MB / 1.422 GB, free: 11.25 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001089/1.136, allocations: 259.2 kB / 1.422 GB, free: 11 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/1.136, allocations: 123.3 kB / 1.422 GB, free: 10.88 MB / 1.123 GB Notification: Performance of SimCode: time 1.042e-06/1.136, allocations: 0 / 1.422 GB, free: 10.88 MB / 1.123 GB Notification: Performance of Templates: time 0.06008/1.196, allocations: 32.24 MB / 1.453 GB, free: 11 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 -s gbode -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_2/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: 10.172517077066004]