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.0009381/0.0009432, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006259/0.006259, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.565/1.565, allocations: 223.3 MB / 240.3 MB, free: 5.328 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 3.133/3.133, allocations: 470.6 MB / 0.7442 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004467, allocations: 13.98 kB / 0.9123 GB, free: 34.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3948, allocations: 161.4 MB / 1.07 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07878/0.4737, allocations: 68.87 MB / 1.137 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03213/0.5058, allocations: 18.79 MB / 1.155 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003136/0.509, allocations: 59.62 kB / 1.156 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.5119, allocations: 0.6488 MB / 1.156 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.522, allocations: 2.608 MB / 1.159 GB, free: 160 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005316/0.5273, allocations: 1.491 MB / 1.16 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009003/0.5364, allocations: 5.009 MB / 1.165 GB, free: 9.645 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003174/0.5396, allocations: 1.163 MB / 1.166 GB, free: 8.445 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004404/0.544, allocations: 1.443 MB / 1.168 GB, free: 6.996 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002673/0.5467, allocations: 1.112 MB / 1.169 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004353/0.5472, allocations: 56 kB / 1.169 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003725/0.5509, allocations: 1.22 MB / 1.17 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005936/0.5515, allocations: 270.6 kB / 1.17 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.5535, allocations: 0.8022 MB / 1.171 GB, free: 3.523 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005706/0.5592, allocations: 2.952 MB / 1.174 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.5592, allocations: 0 / 1.174 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.937e-06/0.5592, allocations: 0 / 1.174 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.439e-05/0.5593, allocations: 0 / 1.174 GB, free: 0.5625 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.003937/0.5632, allocations: 1.707 MB / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.5633, allocations: 8.031 kB / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/0.5659, allocations: 0.4985 MB / 1.176 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.569, allocations: 1.516 MB / 1.178 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004366/0.5695, allocations: 146 kB / 1.178 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002491/0.5697, allocations: 108 kB / 1.178 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003167/0.5729, allocations: 1.313 MB / 1.179 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.573, allocations: 4 kB / 1.179 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.5731, allocations: 40 kB / 1.179 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.5e-05/0.5731, allocations: 32 kB / 1.179 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003173/0.5763, allocations: 1.163 MB / 1.18 GB, free: 9.816 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.0114/0.5877, allocations: 7.199 MB / 1.187 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003567/0.5913, allocations: 0.8877 MB / 1.188 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007/0.592, allocations: 302 kB / 1.188 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001708/0.5938, allocations: 1.718 MB / 1.19 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/0.5938, allocations: 42.94 kB / 1.19 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 3.146e-06/0.5938, allocations: 0 / 1.19 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.005525/0.5994, allocations: 1.448 MB / 1.192 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.5994, allocations: 55.84 kB / 1.192 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/0.6023, allocations: 1.544 MB / 1.193 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.6025, allocations: 33.7 kB / 1.193 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006879/0.6031, allocations: 0.6653 MB / 1.194 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.6034, allocations: 169.5 kB / 1.194 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.6035, allocations: 61.69 kB / 1.194 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.6037, allocations: 334 kB / 1.194 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.6048, allocations: 389.8 kB / 1.195 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.6062, allocations: 0.6627 MB / 1.195 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.6081, allocations: 0.899 MB / 1.196 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.6082, allocations: 4 kB / 1.196 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00495/0.6131, allocations: 1.431 MB / 1.198 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.6132, allocations: 8.812 kB / 1.198 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.6132, allocations: 11.94 kB / 1.198 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.6143, allocations: 232.5 kB / 1.198 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/0.6151, allocations: 191.7 kB / 1.198 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.6162, allocations: 0.7396 MB / 1.199 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.6182, allocations: 258.7 kB / 1.199 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.6184, allocations: 35.98 kB / 1.199 GB, free: 5.305 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.0008807/0.6193, allocations: 369.5 kB / 1.199 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.6196, allocations: 146.2 kB / 1.2 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/0.6223, allocations: 1.164 MB / 1.201 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/0.6223, allocations: 8 kB / 1.201 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.6224, allocations: 15.92 kB / 1.201 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.6224, allocations: 3.984 kB / 1.201 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00581/0.6282, allocations: 2.588 MB / 1.203 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.6282, allocations: 4 kB / 1.203 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.6286, allocations: 87.88 kB / 1.203 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008921/0.6295, allocations: 228.7 kB / 1.204 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.6296, allocations: 19.98 kB / 1.204 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.6311, allocations: 0.7982 MB / 1.204 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.6311, allocations: 4.031 kB / 1.204 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003871/0.635, allocations: 1.285 MB / 1.206 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008497/0.6358, allocations: 378.8 kB / 1.206 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.636, allocations: 16 kB / 1.206 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009692/0.637, allocations: 103.8 kB / 1.206 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.6371, allocations: 44.45 kB / 1.206 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.333e-05/0.6372, allocations: 23.98 kB / 1.206 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002102/0.6393, allocations: 1.09 MB / 1.207 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6393, allocations: 0 / 1.207 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001451/0.6408, allocations: 443.4 kB / 1.208 GB, free: 12.32 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.001064/0.6419, allocations: 468.5 kB / 1.208 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002419/0.6443, allocations: 0.8719 MB / 1.209 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.6443, allocations: 4.25 kB / 1.209 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.6458, allocations: 479.3 kB / 1.209 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003949/0.6497, allocations: 0.703 MB / 1.21 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005096/0.6548, allocations: 2.777 MB / 1.213 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009911/0.6559, allocations: 1.172 MB / 1.214 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001411/0.6573, allocations: 266.9 kB / 1.214 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.6576, allocations: 111.4 kB / 1.214 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of SimCode: time 1.182e-06/0.6576, allocations: 7.938 kB / 1.214 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of Templates: time 0.05818/0.7158, allocations: 30.48 MB / 1.244 GB, free: 7.285 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/jenkins/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