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) 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.1.0-maint.11.x/package.mo", uses=false) 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=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_11_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_11_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.001474/0.001474, allocations: 104.6 kB / 15.99 MB, free: 5.891 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.001506/0.001506, allocations: 189.5 kB / 16.91 MB, free: 5.746 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.726/2.726, allocations: 469.8 MB / 0.7427 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.001921, allocations: 74.53 kB / 0.9087 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3103, allocations: 159.2 MB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.074/0.3843, allocations: 69.9 MB / 1.132 GB, free: 8.504 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02649/0.4108, allocations: 18.78 MB / 1.151 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002824/0.4137, allocations: 67.56 kB / 1.151 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00259/0.4163, allocations: 0.7035 MB / 1.151 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008191/0.4246, allocations: 2.65 MB / 1.154 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004267/0.4289, allocations: 1.522 MB / 1.156 GB, free: 0.7266 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006185/0.4351, allocations: 4.062 MB / 1.16 GB, free: 12.64 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002358/0.4374, allocations: 1.453 MB / 1.161 GB, free: 11.16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004534/0.442, allocations: 1.765 MB / 1.163 GB, free: 9.387 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002489/0.4445, allocations: 1.218 MB / 1.164 GB, free: 8.164 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004016/0.4449, allocations: 180 kB / 1.164 GB, free: 7.988 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003562/0.4485, allocations: 1.439 MB / 1.165 GB, free: 6.547 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005275/0.4491, allocations: 386.6 kB / 1.166 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.4506, allocations: 0.9254 MB / 1.167 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003832/0.4544, allocations: 2.456 MB / 1.169 GB, free: 2.777 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4545, allocations: 0 / 1.169 GB, free: 2.777 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4545, allocations: 0 / 1.169 GB, free: 2.777 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.873e-05/0.4545, allocations: 0 / 1.169 GB, free: 2.777 MB / 0.92 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.003901/0.4584, allocations: 2.038 MB / 1.171 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4585, allocations: 8.031 kB / 1.171 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/0.4607, allocations: 438.4 kB / 1.172 GB, free: 244 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002815/0.4635, allocations: 1.508 MB / 1.173 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003803/0.4639, allocations: 142 kB / 1.173 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.4641, allocations: 100 kB / 1.173 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/0.4668, allocations: 1.299 MB / 1.175 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.4669, allocations: 3.938 kB / 1.175 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.467, allocations: 44 kB / 1.175 GB, free: 13 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.467, allocations: 24 kB / 1.175 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.4697, allocations: 1.108 MB / 1.176 GB, free: 11.86 MB / 0.9356 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.009834/0.4796, allocations: 7.14 MB / 1.183 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003205/0.4828, allocations: 0.8095 MB / 1.183 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006387/0.4835, allocations: 282 kB / 1.184 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/0.4851, allocations: 1.722 MB / 1.185 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.4851, allocations: 42.94 kB / 1.185 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 2.384e-06/0.4851, allocations: 0 / 1.185 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.004933/0.4901, allocations: 1.331 MB / 1.187 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.4902, allocations: 55.84 kB / 1.187 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.4928, allocations: 1.529 MB / 1.188 GB, free: 14 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/0.4929, allocations: 41.7 kB / 1.188 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006421/0.4935, allocations: 0.6692 MB / 1.189 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.4937, allocations: 173.4 kB / 1.189 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.494, allocations: 166.4 kB / 1.189 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4942, allocations: 334 kB / 1.19 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000993/0.4952, allocations: 361.8 kB / 1.19 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.4965, allocations: 0.6276 MB / 1.191 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.4984, allocations: 0.8561 MB / 1.191 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.4984, allocations: 0 / 1.191 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004548/0.5029, allocations: 1.333 MB / 1.193 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.503, allocations: 8.812 kB / 1.193 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.503, allocations: 8 kB / 1.193 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000977/0.504, allocations: 216.6 kB / 1.193 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008281/0.5048, allocations: 183.7 kB / 1.193 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009763/0.5058, allocations: 0.7123 MB / 1.194 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.5076, allocations: 242.7 kB / 1.194 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.5077, allocations: 39.97 kB / 1.194 GB, free: 7.793 MB / 0.9512 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.000683/0.5084, allocations: 361.6 kB / 1.194 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.5088, allocations: 150.2 kB / 1.195 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/0.5113, allocations: 1.138 MB / 1.196 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/0.5114, allocations: 11.98 kB / 1.196 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.5114, allocations: 7.875 kB / 1.196 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.5114, allocations: 3.984 kB / 1.196 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005352/0.5168, allocations: 2.51 MB / 1.198 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5168, allocations: 0 / 1.198 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.5172, allocations: 79.89 kB / 1.198 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007727/0.5179, allocations: 220.7 kB / 1.198 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/0.518, allocations: 15.98 kB / 1.198 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.5193, allocations: 0.767 MB / 1.199 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5193, allocations: 4.062 kB / 1.199 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003421/0.5228, allocations: 1.203 MB / 1.2 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007157/0.5235, allocations: 350.9 kB / 1.201 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.5237, allocations: 15.98 kB / 1.201 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009076/0.5246, allocations: 83.91 kB / 1.201 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.5247, allocations: 44.39 kB / 1.201 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/0.5248, allocations: 31.97 kB / 1.201 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001847/0.5266, allocations: 1.074 MB / 1.202 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5267, allocations: 0 / 1.202 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001399/0.5281, allocations: 443.3 kB / 1.202 GB, free: 15.12 MB / 0.9669 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.001013/0.5291, allocations: 477.2 kB / 1.203 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002413/0.5315, allocations: 0.8642 MB / 1.204 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5315, allocations: 4.062 kB / 1.204 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.5328, allocations: 443.3 kB / 1.204 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/0.5362, allocations: 0.7388 MB / 1.205 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/0.5409, allocations: 2.768 MB / 1.207 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008337/0.5417, allocations: 1.153 MB / 1.209 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/0.5422, allocations: 131.3 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of SimCode: time 8.02e-07/0.5422, allocations: 0 / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of Templates: time 0.0478/0.59, allocations: 33.83 MB / 1.242 GB, free: 6.871 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (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 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches