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.001344/0.001344, allocations: 111.5 kB / 18.88 MB, free: 3.055 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.001549/0.001549, allocations: 191.8 kB / 22.17 MB, free: 5.203 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.531/1.531, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.86/2.86, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] 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.002026/0.002026, allocations: 71.89 kB / 1.109 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8195/0.8216, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08559/0.9071, allocations: 71.7 MB / 1.344 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02715/0.9343, allocations: 19.06 MB / 1.363 GB, free: 9.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00262/0.9369, allocations: 75.56 kB / 1.363 GB, free: 9.406 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.9397, allocations: 0.8618 MB / 1.364 GB, free: 8.539 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009073/0.9488, allocations: 3.006 MB / 1.367 GB, free: 5.523 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004819/0.9536, allocations: 1.677 MB / 1.368 GB, free: 3.855 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006739/0.9603, allocations: 4.062 MB / 1.372 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002458/0.9628, allocations: 1.16 MB / 1.373 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005561/0.9683, allocations: 1.809 MB / 1.375 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.9708, allocations: 1.225 MB / 1.376 GB, free: 11.54 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003478/0.9711, allocations: 176 kB / 1.376 GB, free: 11.36 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003284/0.9744, allocations: 1.447 MB / 1.378 GB, free: 9.914 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004329/0.9748, allocations: 406.4 kB / 1.378 GB, free: 9.516 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.976, allocations: 0.9137 MB / 1.379 GB, free: 8.598 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006248/0.9823, allocations: 3.111 MB / 1.382 GB, free: 5.477 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.9823, allocations: 0 / 1.382 GB, free: 5.477 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9823, allocations: 0 / 1.382 GB, free: 5.477 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.881e-05/0.9823, allocations: 0 / 1.382 GB, free: 5.477 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.004334/0.9866, allocations: 2.09 MB / 1.384 GB, free: 3.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.9867, allocations: 12.03 kB / 1.384 GB, free: 3.309 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/0.9891, allocations: 459.4 kB / 1.385 GB, free: 2.859 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003075/0.9922, allocations: 1.56 MB / 1.386 GB, free: 1.242 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.713e-05/0.9923, allocations: 78.03 kB / 1.386 GB, free: 1.164 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.9924, allocations: 100 kB / 1.386 GB, free: 1.066 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/0.9952, allocations: 1.315 MB / 1.388 GB, free: 15.64 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.9952, allocations: 3.938 kB / 1.388 GB, free: 15.64 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.9954, allocations: 51.92 kB / 1.388 GB, free: 15.59 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.9954, allocations: 27.98 kB / 1.388 GB, free: 15.56 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00291/0.9983, allocations: 1.101 MB / 1.389 GB, free: 14.46 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.01006/1.008, allocations: 7.52 MB / 1.396 GB, free: 6.426 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/1.012, allocations: 0.7744 MB / 1.397 GB, free: 5.645 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/1.013, allocations: 262 kB / 1.397 GB, free: 5.383 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001607/1.014, allocations: 1.722 MB / 1.399 GB, free: 3.273 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/1.014, allocations: 43 kB / 1.399 GB, free: 3.223 MB / 1.092 GB Notification: Performance of pre-optimization done (n=48): time 2.645e-06/1.014, allocations: 0 / 1.399 GB, free: 3.223 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.005394/1.02, allocations: 1.339 MB / 1.4 GB, free: 1.855 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/1.02, allocations: 55.84 kB / 1.4 GB, free: 1.789 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003217/1.023, allocations: 1.546 MB / 1.402 GB, free: 240 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.682e-05/1.023, allocations: 37.7 kB / 1.402 GB, free: 196 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007738/1.024, allocations: 0.6857 MB / 1.402 GB, free: 15.5 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/1.024, allocations: 174.5 kB / 1.403 GB, free: 15.33 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/1.024, allocations: 174.5 kB / 1.403 GB, free: 15.15 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002017/1.024, allocations: 338 kB / 1.403 GB, free: 14.82 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/1.026, allocations: 361.8 kB / 1.403 GB, free: 14.46 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/1.027, allocations: 0.6622 MB / 1.404 GB, free: 13.68 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/1.029, allocations: 0.8906 MB / 1.405 GB, free: 12.68 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/1.029, allocations: 7.938 kB / 1.405 GB, free: 12.67 MB / 1.107 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003521/1.033, allocations: 1.194 MB / 1.406 GB, free: 11.47 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/1.033, allocations: 8 kB / 1.406 GB, free: 11.46 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/1.033, allocations: 8.031 kB / 1.406 GB, free: 11.45 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/1.034, allocations: 228.5 kB / 1.406 GB, free: 11.23 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/1.035, allocations: 191.7 kB / 1.406 GB, free: 11.04 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/1.036, allocations: 0.7357 MB / 1.407 GB, free: 10.28 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/1.037, allocations: 215 kB / 1.407 GB, free: 10.07 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.038, allocations: 39.98 kB / 1.407 GB, free: 10.03 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.0007414/1.038, allocations: 361.5 kB / 1.408 GB, free: 9.664 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/1.039, allocations: 155 kB / 1.408 GB, free: 9.512 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002839/1.042, allocations: 1.137 MB / 1.409 GB, free: 8.355 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/1.042, allocations: 11.98 kB / 1.409 GB, free: 8.344 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.042, allocations: 0 / 1.409 GB, free: 8.344 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/1.042, allocations: 3.984 kB / 1.409 GB, free: 8.34 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00675/1.048, allocations: 2.506 MB / 1.412 GB, free: 5.754 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/1.048, allocations: 0 / 1.412 GB, free: 5.754 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/1.049, allocations: 83.88 kB / 1.412 GB, free: 5.672 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009222/1.05, allocations: 220.7 kB / 1.412 GB, free: 5.453 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.22e-05/1.05, allocations: 19.98 kB / 1.412 GB, free: 5.434 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/1.051, allocations: 0.7669 MB / 1.413 GB, free: 4.641 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.051, allocations: 12.09 kB / 1.413 GB, free: 4.629 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003994/1.055, allocations: 1.2 MB / 1.414 GB, free: 3.383 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008424/1.056, allocations: 359.7 kB / 1.414 GB, free: 3.012 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/1.057, allocations: 16 kB / 1.414 GB, free: 2.996 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.058, allocations: 71.91 kB / 1.414 GB, free: 2.926 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/1.058, allocations: 44.45 kB / 1.414 GB, free: 2.883 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.291e-05/1.058, allocations: 27.97 kB / 1.414 GB, free: 2.855 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002314/1.06, allocations: 1.082 MB / 1.415 GB, free: 1.777 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/1.06, allocations: 4 kB / 1.415 GB, free: 1.773 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00161/1.062, allocations: 447.1 kB / 1.416 GB, free: 1.336 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.001188/1.063, allocations: 475.9 kB / 1.416 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002464/1.065, allocations: 0.8252 MB / 1.417 GB, free: 52 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.065, allocations: 0 / 1.417 GB, free: 52 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/1.067, allocations: 411.7 kB / 1.417 GB, free: 15.65 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0037/1.071, allocations: 0.7403 MB / 1.418 GB, free: 14.92 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00503/1.076, allocations: 2.312 MB / 1.42 GB, free: 12.55 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/1.077, allocations: 1.172 MB / 1.422 GB, free: 11.36 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001187/1.078, allocations: 270.5 kB / 1.422 GB, free: 11.09 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/1.078, allocations: 123.3 kB / 1.422 GB, free: 10.97 MB / 1.123 GB Notification: Performance of SimCode: time 9.52e-07/1.078, allocations: 0 / 1.422 GB, free: 10.97 MB / 1.123 GB Notification: Performance of Templates: time 0.06239/1.141, allocations: 32.23 MB / 1.453 GB, free: 11.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 cvode -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.038792837876827]