Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001363/0.001363, allocations: 116.7 kB / 17.08 MB, free: 5.992 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.001424/0.001424, allocations: 185.2 kB / 20.02 MB, free: 3.066 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.496/1.496, allocations: 222.9 MB / 245.7 MB, free: 4.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.991/2.991, allocations: 489.3 MB / 0.7687 GB, free: 3.977 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.91 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.068, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08591/1.154, allocations: 70.6 MB / 1.332 GB, free: 5.402 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03127/1.185, allocations: 18.92 MB / 1.35 GB, free: 7.793 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004/1.19, allocations: 67 kB / 1.35 GB, free: 7.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003452/1.193, allocations: 0.8271 MB / 1.351 GB, free: 7.219 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01131/1.204, allocations: 2.83 MB / 1.354 GB, free: 5.523 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005826/1.21, allocations: 1.648 MB / 1.355 GB, free: 4.562 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008163/1.218, allocations: 4.026 MB / 1.359 GB, free: 2.496 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002982/1.221, allocations: 1.459 MB / 1.361 GB, free: 1.758 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006054/1.227, allocations: 1.884 MB / 1.362 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003504/1.231, allocations: 1.156 MB / 1.364 GB, free: 224 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008567/1.232, allocations: 178.6 kB / 1.364 GB, free: 220 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00544/1.237, allocations: 1.412 MB / 1.365 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0009953/1.238, allocations: 387.1 kB / 1.365 GB, free: 15.45 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002844/1.241, allocations: 0.921 MB / 1.366 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008701/1.25, allocations: 3.115 MB / 1.369 GB, free: 12.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/1.25, allocations: 0 / 1.369 GB, free: 12.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.404e-06/1.25, allocations: 0.875 kB / 1.369 GB, free: 12.98 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001116/1.25, allocations: 4 kB / 1.369 GB, free: 12.98 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.005964/1.256, allocations: 2.09 MB / 1.371 GB, free: 11.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.256, allocations: 9 kB / 1.371 GB, free: 11.36 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/1.259, allocations: 449.2 kB / 1.372 GB, free: 11.16 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003422/1.262, allocations: 1.563 MB / 1.373 GB, free: 9.887 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-05/1.262, allocations: 82.25 kB / 1.374 GB, free: 9.848 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/1.262, allocations: 101.7 kB / 1.374 GB, free: 9.816 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/1.265, allocations: 1.319 MB / 1.375 GB, free: 8.898 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/1.265, allocations: 6.844 kB / 1.375 GB, free: 8.895 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/1.266, allocations: 43.28 kB / 1.375 GB, free: 8.863 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/1.266, allocations: 25.72 kB / 1.375 GB, free: 8.863 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00335/1.269, allocations: 1.102 MB / 1.376 GB, free: 8.305 MB / 1.076 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.0109/1.28, allocations: 7.515 MB / 1.383 GB, free: 1.398 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003364/1.283, allocations: 0.8121 MB / 1.384 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006625/1.284, allocations: 275.2 kB / 1.384 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/1.286, allocations: 1.726 MB / 1.386 GB, free: 14.8 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/1.286, allocations: 38.91 kB / 1.386 GB, free: 14.76 MB / 1.092 GB Notification: Performance of pre-optimization done (n=48): time 2.565e-06/1.286, allocations: 0 / 1.386 GB, free: 14.76 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.005318/1.291, allocations: 1.344 MB / 1.387 GB, free: 14 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/1.291, allocations: 57.44 kB / 1.388 GB, free: 13.94 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/1.294, allocations: 1.55 MB / 1.389 GB, free: 13.09 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-05/1.294, allocations: 37.3 kB / 1.389 GB, free: 13.05 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000689/1.295, allocations: 0.6734 MB / 1.39 GB, free: 12.46 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/1.295, allocations: 181 kB / 1.39 GB, free: 12.3 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/1.295, allocations: 181.5 kB / 1.39 GB, free: 12.19 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.295, allocations: 332.1 kB / 1.39 GB, free: 11.86 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/1.296, allocations: 367.9 kB / 1.391 GB, free: 11.68 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/1.298, allocations: 0.6628 MB / 1.391 GB, free: 11.11 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/1.3, allocations: 0.8877 MB / 1.392 GB, free: 10.46 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/1.3, allocations: 6.688 kB / 1.392 GB, free: 10.45 MB / 1.092 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003327/1.303, allocations: 1.201 MB / 1.393 GB, free: 9.828 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.303, allocations: 7.188 kB / 1.393 GB, free: 9.828 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/1.303, allocations: 12 kB / 1.393 GB, free: 9.824 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009643/1.304, allocations: 226.9 kB / 1.394 GB, free: 9.707 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007965/1.305, allocations: 190 kB / 1.394 GB, free: 9.656 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009997/1.306, allocations: 0.7271 MB / 1.395 GB, free: 9.016 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/1.308, allocations: 215 kB / 1.395 GB, free: 8.895 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/1.308, allocations: 43.67 kB / 1.395 GB, free: 8.883 MB / 1.092 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.0007293/1.309, allocations: 355 kB / 1.395 GB, free: 8.617 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/1.309, allocations: 153.8 kB / 1.395 GB, free: 8.535 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/1.312, allocations: 1.138 MB / 1.396 GB, free: 7.871 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.882e-05/1.312, allocations: 10.58 kB / 1.396 GB, free: 7.867 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.312, allocations: 1.344 kB / 1.396 GB, free: 7.867 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/1.312, allocations: 3.984 kB / 1.396 GB, free: 7.863 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005882/1.318, allocations: 2.511 MB / 1.399 GB, free: 6.094 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.318, allocations: 6.297 kB / 1.399 GB, free: 6.09 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/1.318, allocations: 89.77 kB / 1.399 GB, free: 6.062 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000841/1.319, allocations: 214 kB / 1.399 GB, free: 5.949 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/1.319, allocations: 18.42 kB / 1.399 GB, free: 5.938 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/1.32, allocations: 0.7773 MB / 1.4 GB, free: 5.273 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.32, allocations: 2.219 kB / 1.4 GB, free: 5.273 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/1.324, allocations: 1.213 MB / 1.401 GB, free: 4.539 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.325, allocations: 355.1 kB / 1.401 GB, free: 4.227 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/1.326, allocations: 16.47 kB / 1.401 GB, free: 4.215 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009312/1.327, allocations: 77.5 kB / 1.402 GB, free: 4.176 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.327, allocations: 40.25 kB / 1.402 GB, free: 4.156 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/1.327, allocations: 28.73 kB / 1.402 GB, free: 4.145 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00205/1.329, allocations: 1.08 MB / 1.403 GB, free: 3.559 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.7e-07/1.329, allocations: 0 / 1.403 GB, free: 3.559 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001873/1.331, allocations: 452.1 kB / 1.403 GB, free: 3.449 MB / 1.092 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.001241/1.332, allocations: 491.8 kB / 1.404 GB, free: 3.176 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00248/1.334, allocations: 0.8522 MB / 1.404 GB, free: 2.781 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.334, allocations: 0 / 1.404 GB, free: 2.781 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001419/1.336, allocations: 438.9 kB / 1.405 GB, free: 2.582 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00383/1.34, allocations: 0.733 MB / 1.406 GB, free: 2.191 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/1.344, allocations: 2.321 MB / 1.408 GB, free: 0.7695 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009192/1.345, allocations: 1.165 MB / 1.409 GB, free: 15.86 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/1.346, allocations: 116.3 kB / 1.409 GB, free: 15.84 MB / 1.107 GB Notification: Performance of SimCode: time 7.71e-07/1.346, allocations: 0 / 1.409 GB, free: 15.84 MB / 1.107 GB Notification: Performance of Templates: time 0.05298/1.399, allocations: 34.23 MB / 1.442 GB, free: 14.57 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.634043931029737]