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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009892/0.009892, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.002606/0.002606, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.871/2.871, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.91 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3735, allocations: 157.4 MB / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.9263/1.3, allocations: 70.5 MB / 1.277 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02643/1.326, allocations: 18.92 MB / 1.295 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003748/1.33, allocations: 71.72 kB / 1.295 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003276/1.333, allocations: 0.842 MB / 1.296 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01129/1.345, allocations: 3 MB / 1.299 GB, free: 11.83 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005744/1.35, allocations: 1.672 MB / 1.3 GB, free: 10.86 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006712/1.357, allocations: 4.055 MB / 1.304 GB, free: 8.793 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002846/1.36, allocations: 1.456 MB / 1.306 GB, free: 8.086 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005037/1.365, allocations: 1.812 MB / 1.308 GB, free: 7.145 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002968/1.368, allocations: 1.175 MB / 1.309 GB, free: 6.59 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006544/1.369, allocations: 175.2 kB / 1.309 GB, free: 6.59 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004421/1.373, allocations: 1.415 MB / 1.31 GB, free: 6.082 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007668/1.374, allocations: 383.2 kB / 1.311 GB, free: 5.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002666/1.377, allocations: 0.9212 MB / 1.312 GB, free: 5.219 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007509/1.384, allocations: 3.103 MB / 1.315 GB, free: 4.059 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.384, allocations: 4 kB / 1.315 GB, free: 4.055 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/1.384, allocations: 1.094 kB / 1.315 GB, free: 4.055 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.762e-05/1.384, allocations: 0 / 1.315 GB, free: 4.055 MB / 1.014 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.006052/1.39, allocations: 2.03 MB / 1.317 GB, free: 2.684 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/1.39, allocations: 13.44 kB / 1.317 GB, free: 2.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002753/1.393, allocations: 452 kB / 1.317 GB, free: 2.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003691/1.397, allocations: 1.538 MB / 1.319 GB, free: 1.625 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/1.397, allocations: 82.44 kB / 1.319 GB, free: 1.586 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/1.397, allocations: 107.7 kB / 1.319 GB, free: 1.551 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/1.401, allocations: 1.314 MB / 1.32 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.687e-05/1.401, allocations: 10.06 kB / 1.32 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/1.401, allocations: 43.12 kB / 1.32 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/1.401, allocations: 29.83 kB / 1.32 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003155/1.404, allocations: 1.101 MB / 1.321 GB, free: 416 kB / 1.014 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.01239/1.416, allocations: 7.499 MB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/1.42, allocations: 0.804 MB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006564/1.42, allocations: 286.1 kB / 1.33 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/1.422, allocations: 1.723 MB / 1.331 GB, free: 8.094 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/1.422, allocations: 38.16 kB / 1.331 GB, free: 8.047 MB / 1.029 GB Notification: Performance of pre-optimization done (n=48): time 2.775e-06/1.422, allocations: 0 / 1.331 GB, free: 8.047 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.004964/1.427, allocations: 1.333 MB / 1.333 GB, free: 7.551 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/1.427, allocations: 61.16 kB / 1.333 GB, free: 7.484 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00321/1.43, allocations: 1.541 MB / 1.334 GB, free: 6.863 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/1.43, allocations: 42.17 kB / 1.334 GB, free: 6.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006813/1.431, allocations: 0.6759 MB / 1.335 GB, free: 6.281 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/1.431, allocations: 170.2 kB / 1.335 GB, free: 6.148 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003907/1.432, allocations: 174 kB / 1.335 GB, free: 6.059 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.432, allocations: 334.3 kB / 1.336 GB, free: 5.742 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009932/1.433, allocations: 363.6 kB / 1.336 GB, free: 5.625 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/1.434, allocations: 0.6608 MB / 1.336 GB, free: 5.133 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/1.436, allocations: 0.8882 MB / 1.337 GB, free: 4.547 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/1.436, allocations: 2.219 kB / 1.337 GB, free: 4.547 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003207/1.439, allocations: 1.193 MB / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/1.439, allocations: 9.688 kB / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/1.439, allocations: 7.938 kB / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009457/1.44, allocations: 222.2 kB / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007877/1.441, allocations: 194.2 kB / 1.339 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009042/1.442, allocations: 0.7233 MB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/1.444, allocations: 216.8 kB / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/1.444, allocations: 44.03 kB / 1.34 GB, free: 3.293 MB / 1.029 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.000732/1.445, allocations: 359.1 kB / 1.34 GB, free: 3.031 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004904/1.445, allocations: 145.7 kB / 1.34 GB, free: 2.957 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/1.448, allocations: 1.14 MB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/1.448, allocations: 8.609 kB / 1.342 GB, free: 2.496 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.448, allocations: 7.938 kB / 1.342 GB, free: 2.488 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.448, allocations: 6.938 kB / 1.342 GB, free: 2.488 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006156/1.454, allocations: 2.498 MB / 1.344 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.454, allocations: 1.875 kB / 1.344 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/1.454, allocations: 90.5 kB / 1.344 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007337/1.455, allocations: 210.1 kB / 1.344 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.707e-05/1.455, allocations: 19.02 kB / 1.344 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/1.457, allocations: 0.7733 MB / 1.345 GB, free: 52 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-06/1.457, allocations: 9.156 kB / 1.345 GB, free: 44 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003357/1.46, allocations: 1.197 MB / 1.346 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007877/1.461, allocations: 354.2 kB / 1.347 GB, free: 15.01 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/1.461, allocations: 16.47 kB / 1.347 GB, free: 15 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.462, allocations: 74.09 kB / 1.347 GB, free: 14.96 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/1.462, allocations: 39.47 kB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.941e-05/1.463, allocations: 25.89 kB / 1.347 GB, free: 14.94 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002032/1.465, allocations: 1.083 MB / 1.348 GB, free: 14.35 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/1.465, allocations: 0 / 1.348 GB, free: 14.35 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001666/1.466, allocations: 448.2 kB / 1.348 GB, free: 14.24 MB / 1.045 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.001168/1.467, allocations: 490 kB / 1.349 GB, free: 13.97 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002203/1.47, allocations: 0.841 MB / 1.349 GB, free: 13.58 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.47, allocations: 3.984 kB / 1.349 GB, free: 13.58 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/1.471, allocations: 446.9 kB / 1.35 GB, free: 13.38 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/1.474, allocations: 0.7366 MB / 1.351 GB, free: 12.98 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005782/1.48, allocations: 2.252 MB / 1.353 GB, free: 11.62 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/1.482, allocations: 1.169 MB / 1.354 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001762/1.483, allocations: 276.2 kB / 1.354 GB, free: 10.56 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/1.484, allocations: 112.1 kB / 1.354 GB, free: 10.55 MB / 1.045 GB Notification: Performance of SimCode: time 1.563e-06/1.484, allocations: 0 / 1.354 GB, free: 10.55 MB / 1.045 GB Notification: Performance of Templates: time 0.06909/1.553, allocations: 31.75 MB / 1.385 GB, free: 2.918 MB / 1.061 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