Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,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_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 193.6 kB / 16.14 MB, free: 6.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.2 MB / 0.6642 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 64.08 kB / 0.8118 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8571/0.8583, allocations: 140.4 MB / 0.9489 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0707/0.929, allocations: 70.1 MB / 1.017 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02839/0.9575, allocations: 19 MB / 1.036 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004304/0.9619, allocations: 67.56 kB / 1.036 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003161/0.965, allocations: 0.6566 MB / 1.037 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009514/0.9746, allocations: 2.609 MB / 1.039 GB, free: 5.551 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004673/0.9793, allocations: 1.483 MB / 1.041 GB, free: 4.074 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007765/0.9871, allocations: 5.023 MB / 1.046 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.9896, allocations: 1.183 MB / 1.047 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0047/0.9943, allocations: 1.493 MB / 1.048 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002698/0.9971, allocations: 1.159 MB / 1.049 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004513/0.9975, allocations: 76 kB / 1.049 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003842/1.001, allocations: 1.239 MB / 1.051 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000574/1.002, allocations: 294.6 kB / 1.051 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001966/1.004, allocations: 0.8122 MB / 1.052 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0053/1.009, allocations: 3.03 MB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.009, allocations: 4 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/1.009, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.68e-05/1.009, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 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.004095/1.013, allocations: 2.03 MB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/1.014, allocations: 12.03 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/1.016, allocations: 441.8 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/1.019, allocations: 1.508 MB / 1.058 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00044/1.019, allocations: 134 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/1.019, allocations: 104 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/1.022, allocations: 1.289 MB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/1.022, allocations: 7.922 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/1.022, allocations: 44 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/1.022, allocations: 27.94 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/1.025, allocations: 1.109 MB / 1.061 GB, free: 14.79 MB / 0.8262 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.01082/1.036, allocations: 7.133 MB / 1.068 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/1.039, allocations: 0.8106 MB / 1.069 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006652/1.04, allocations: 289.9 kB / 1.069 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/1.041, allocations: 1.714 MB / 1.071 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/1.041, allocations: 42.94 kB / 1.071 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 2.395e-06/1.042, allocations: 0 / 1.071 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.005015/1.047, allocations: 1.33 MB / 1.072 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/1.047, allocations: 59.84 kB / 1.072 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003141/1.05, allocations: 1.521 MB / 1.074 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.242e-05/1.05, allocations: 37.7 kB / 1.074 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006103/1.05, allocations: 0.6653 MB / 1.074 GB, free: 228 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/1.051, allocations: 173.6 kB / 1.075 GB, free: 52 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000403/1.051, allocations: 158.6 kB / 1.075 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.051, allocations: 341.9 kB / 1.075 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/1.052, allocations: 361.7 kB / 1.075 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/1.054, allocations: 0.6354 MB / 1.076 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/1.056, allocations: 0.8522 MB / 1.077 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/1.056, allocations: 4 kB / 1.077 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0045/1.06, allocations: 1.333 MB / 1.078 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.06, allocations: 8 kB / 1.078 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.06, allocations: 4 kB / 1.078 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008952/1.061, allocations: 228.8 kB / 1.078 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007688/1.062, allocations: 183.7 kB / 1.079 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008783/1.063, allocations: 0.7162 MB / 1.079 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/1.064, allocations: 242.7 kB / 1.079 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/1.065, allocations: 39.98 kB / 1.08 GB, free: 10.71 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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.000644/1.065, allocations: 353.6 kB / 1.08 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/1.066, allocations: 146.1 kB / 1.08 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/1.068, allocations: 1.143 MB / 1.081 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/1.068, allocations: 15.94 kB / 1.081 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.068, allocations: 3.938 kB / 1.081 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.068, allocations: 3.984 kB / 1.081 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005605/1.074, allocations: 2.506 MB / 1.084 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.074, allocations: 4 kB / 1.084 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/1.074, allocations: 75.89 kB / 1.084 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007809/1.075, allocations: 220.8 kB / 1.084 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/1.075, allocations: 19.98 kB / 1.084 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/1.077, allocations: 0.767 MB / 1.085 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/1.077, allocations: 4.031 kB / 1.085 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003549/1.08, allocations: 1.21 MB / 1.086 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007618/1.081, allocations: 343 kB / 1.086 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/1.081, allocations: 15.98 kB / 1.086 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.082, allocations: 91.69 kB / 1.086 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.083, allocations: 44.5 kB / 1.086 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/1.083, allocations: 31.98 kB / 1.086 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002047/1.085, allocations: 1.07 MB / 1.087 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/1.085, allocations: 0 / 1.087 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001442/1.086, allocations: 435.4 kB / 1.088 GB, free: 2.043 MB / 0.8419 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.001182/1.087, allocations: 480.1 kB / 1.088 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00241/1.09, allocations: 0.8329 MB / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.09, allocations: 0 / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/1.091, allocations: 435.5 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/1.095, allocations: 0.702 MB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004828/1.1, allocations: 2.741 MB / 1.093 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000951/1.101, allocations: 1.172 MB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001369/1.102, allocations: 259.9 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/1.102, allocations: 115.4 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of SimCode: time 1.433e-06/1.102, allocations: 0 / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of Templates: time 0.05128/1.154, allocations: 30.05 MB / 1.124 GB, free: 13.55 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches