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) 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 12.0.0-master/package.mo", uses=false) 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=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_latest_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_latest_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.009366/0.009366, allocations: 102 kB / 15.73 MB, free: 5.555 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.001995/0.001995, allocations: 194.6 kB / 16.67 MB, free: 5.484 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 472.6 MB / 0.7453 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.84 kB / 1.069 GB, free: 9.234 MB / 0.8263 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3903, allocations: 159.9 MB / 1.226 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.928/1.318, allocations: 70.5 MB / 1.294 GB, free: 3.727 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02877/1.347, allocations: 18.93 MB / 1.313 GB, free: 6.129 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003935/1.351, allocations: 68.03 kB / 1.313 GB, free: 6.105 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003268/1.354, allocations: 0.8358 MB / 1.314 GB, free: 5.547 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01123/1.366, allocations: 2.848 MB / 1.317 GB, free: 3.848 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005826/1.371, allocations: 1.653 MB / 1.318 GB, free: 2.891 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.008106/1.38, allocations: 4.039 MB / 1.322 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003448/1.383, allocations: 1.456 MB / 1.324 GB, free: 120 kB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005754/1.389, allocations: 1.773 MB / 1.325 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003063/1.392, allocations: 1.182 MB / 1.326 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004459/1.392, allocations: 175 kB / 1.327 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004665/1.397, allocations: 1.418 MB / 1.328 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005983/1.398, allocations: 384.6 kB / 1.328 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001672/1.399, allocations: 0.9195 MB / 1.329 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.007324/1.407, allocations: 3.111 MB / 1.332 GB, free: 12.09 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.407, allocations: 1.156 kB / 1.332 GB, free: 12.09 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.605e-06/1.407, allocations: 4.703 kB / 1.332 GB, free: 12.08 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.65e-05/1.407, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.045 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.004875/1.412, allocations: 2.09 MB / 1.334 GB, free: 10.65 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.412, allocations: 9.719 kB / 1.334 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002799/1.415, allocations: 451.6 kB / 1.335 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005186/1.42, allocations: 1.564 MB / 1.336 GB, free: 9.57 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/1.42, allocations: 78.59 kB / 1.336 GB, free: 9.535 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003201/1.42, allocations: 106.3 kB / 1.337 GB, free: 9.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004061/1.424, allocations: 1.314 MB / 1.338 GB, free: 8.797 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/1.424, allocations: 1.812 kB / 1.338 GB, free: 8.797 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/1.425, allocations: 52.03 kB / 1.338 GB, free: 8.758 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/1.425, allocations: 25.97 kB / 1.338 GB, free: 8.758 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003216/1.428, allocations: 1.097 MB / 1.339 GB, free: 8.355 MB / 1.045 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.01159/1.439, allocations: 7.515 MB / 1.346 GB, free: 2.395 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/1.443, allocations: 0.8043 MB / 1.347 GB, free: 2.133 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007154/1.444, allocations: 284.8 kB / 1.347 GB, free: 2.023 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001968/1.446, allocations: 1.724 MB / 1.349 GB, free: 24 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.543e-05/1.446, allocations: 47.7 kB / 1.349 GB, free: 15.97 MB / 1.061 GB Notification: Performance of pre-optimization done (n=48): time 2.635e-06/1.446, allocations: 0 / 1.349 GB, free: 15.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.006014/1.452, allocations: 1.34 MB / 1.35 GB, free: 15.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/1.452, allocations: 60.94 kB / 1.35 GB, free: 15.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005607/1.457, allocations: 1.545 MB / 1.352 GB, free: 14.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/1.458, allocations: 38.23 kB / 1.352 GB, free: 14.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001072/1.459, allocations: 0.685 MB / 1.353 GB, free: 13.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/1.459, allocations: 177.3 kB / 1.353 GB, free: 13.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006028/1.46, allocations: 172.7 kB / 1.353 GB, free: 13.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002161/1.46, allocations: 337.1 kB / 1.353 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/1.462, allocations: 358.6 kB / 1.354 GB, free: 13.1 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/1.464, allocations: 0.6685 MB / 1.354 GB, free: 12.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003149/1.467, allocations: 0.8787 MB / 1.355 GB, free: 11.88 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/1.467, allocations: 7.219 kB / 1.355 GB, free: 11.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.005005/1.472, allocations: 1.2 MB / 1.356 GB, free: 11.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/1.472, allocations: 11.88 kB / 1.356 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/1.472, allocations: 8.5 kB / 1.356 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/1.473, allocations: 221.9 kB / 1.357 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/1.475, allocations: 189.9 kB / 1.357 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/1.476, allocations: 0.7271 MB / 1.357 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/1.479, allocations: 211.5 kB / 1.358 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/1.48, allocations: 43.34 kB / 1.358 GB, free: 10.31 MB / 1.061 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.001253/1.481, allocations: 355.6 kB / 1.358 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007589/1.482, allocations: 154.9 kB / 1.358 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004991/1.487, allocations: 1.15 MB / 1.359 GB, free: 9.289 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.156e-05/1.487, allocations: 10.83 kB / 1.359 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.487, allocations: 0 / 1.359 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/1.487, allocations: 4.969 kB / 1.359 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/1.498, allocations: 2.507 MB / 1.362 GB, free: 7.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/1.498, allocations: 1.906 kB / 1.362 GB, free: 7.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006973/1.499, allocations: 90.16 kB / 1.362 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/1.5, allocations: 205.9 kB / 1.362 GB, free: 7.387 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-05/1.5, allocations: 19.34 kB / 1.362 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/1.503, allocations: 0.7728 MB / 1.363 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.005e-05/1.503, allocations: 10.16 kB / 1.363 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007116/1.51, allocations: 1.21 MB / 1.364 GB, free: 5.977 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/1.512, allocations: 349.6 kB / 1.364 GB, free: 5.668 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008229/1.513, allocations: 21.55 kB / 1.364 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/1.515, allocations: 73.84 kB / 1.364 GB, free: 5.617 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/1.515, allocations: 35.42 kB / 1.364 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.515, allocations: 25.02 kB / 1.365 GB, free: 5.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.004569/1.52, allocations: 1.087 MB / 1.366 GB, free: 4.996 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.51e-07/1.52, allocations: 3.938 kB / 1.366 GB, free: 4.992 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003485/1.523, allocations: 452 kB / 1.366 GB, free: 4.883 MB / 1.061 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.002157/1.525, allocations: 492.3 kB / 1.366 GB, free: 4.605 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0047/1.53, allocations: 0.8446 MB / 1.367 GB, free: 4.219 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.53, allocations: 1.594 kB / 1.367 GB, free: 4.219 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002718/1.533, allocations: 438 kB / 1.368 GB, free: 4.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008526/1.542, allocations: 0.7466 MB / 1.368 GB, free: 3.613 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009412/1.551, allocations: 2.292 MB / 1.371 GB, free: 2.215 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/1.553, allocations: 1.173 MB / 1.372 GB, free: 1.301 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00277/1.556, allocations: 269.5 kB / 1.372 GB, free: 1.164 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008312/1.557, allocations: 116 kB / 1.372 GB, free: 1.141 MB / 1.061 GB Notification: Performance of SimCode: time 3.035e-06/1.557, allocations: 0 / 1.372 GB, free: 1.141 MB / 1.061 GB Notification: Performance of Templates: time 0.09709/1.654, allocations: 31.74 MB / 1.403 GB, free: 7.484 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches