Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001526/0.001532, allocations: 107.7 kB / 16.27 MB, free: 6.402 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.001493/0.001493, allocations: 191 kB / 17.2 MB, free: 5.938 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.427/1.427, allocations: 222.9 MB / 240.9 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437.1 MB / 0.7111 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 64.53 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3337, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.5999/0.9336, allocations: 70.48 MB / 1.087 GB, free: 25.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02438/0.9581, allocations: 18.92 MB / 1.105 GB, free: 24.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00331/0.9614, allocations: 74.34 kB / 1.105 GB, free: 24.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.9643, allocations: 0.8206 MB / 1.106 GB, free: 23.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.9743, allocations: 2.857 MB / 1.109 GB, free: 22.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005229/0.9796, allocations: 1.64 MB / 1.111 GB, free: 21.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006783/0.9864, allocations: 4.041 MB / 1.114 GB, free: 19.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.9891, allocations: 1.451 MB / 1.116 GB, free: 18.35 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004788/0.9939, allocations: 1.776 MB / 1.118 GB, free: 17.41 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.9967, allocations: 1.177 MB / 1.119 GB, free: 16.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000567/0.9973, allocations: 175.7 kB / 1.119 GB, free: 16.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004521/1.002, allocations: 1.413 MB / 1.12 GB, free: 16.35 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006786/1.003, allocations: 387.5 kB / 1.121 GB, free: 16.08 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001869/1.004, allocations: 0.9163 MB / 1.122 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006949/1.011, allocations: 3.067 MB / 1.125 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/1.011, allocations: 8.797 kB / 1.125 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.514e-06/1.011, allocations: 0 / 1.125 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.589e-05/1.012, allocations: 0 / 1.125 GB, free: 14.34 MB / 0.8419 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.005082/1.017, allocations: 2.026 MB / 1.127 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.017, allocations: 10.33 kB / 1.127 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/1.019, allocations: 443.9 kB / 1.127 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/1.022, allocations: 1.491 MB / 1.128 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003919/1.023, allocations: 135.7 kB / 1.129 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/1.023, allocations: 102.4 kB / 1.129 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/1.025, allocations: 1.317 MB / 1.13 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/1.025, allocations: 9 kB / 1.13 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/1.026, allocations: 43.56 kB / 1.13 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/1.026, allocations: 25.91 kB / 1.13 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/1.028, allocations: 1.103 MB / 1.131 GB, free: 10.71 MB / 0.8419 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.008578/1.037, allocations: 7.56 MB / 1.139 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003212/1.04, allocations: 0.808 MB / 1.139 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/1.041, allocations: 280.7 kB / 1.14 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000928/1.042, allocations: 1.719 MB / 1.141 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/1.042, allocations: 40.56 kB / 1.141 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=48): time 3.146e-06/1.042, allocations: 0 / 1.141 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.005192/1.047, allocations: 1.344 MB / 1.143 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/1.047, allocations: 60.47 kB / 1.143 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/1.05, allocations: 1.547 MB / 1.144 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/1.05, allocations: 38.67 kB / 1.144 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005252/1.051, allocations: 0.6771 MB / 1.145 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/1.051, allocations: 171.4 kB / 1.145 GB, free: 432 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/1.051, allocations: 171.6 kB / 1.145 GB, free: 328 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.051, allocations: 332.8 kB / 1.146 GB, free: 16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/1.052, allocations: 371.1 kB / 1.146 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/1.054, allocations: 0.6667 MB / 1.147 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/1.056, allocations: 0.8854 MB / 1.147 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/1.056, allocations: 7.438 kB / 1.147 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00354/1.06, allocations: 1.206 MB / 1.149 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.06, allocations: 8.281 kB / 1.149 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/1.06, allocations: 7.875 kB / 1.149 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009412/1.061, allocations: 222.9 kB / 1.149 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/1.061, allocations: 190.5 kB / 1.149 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009944/1.062, allocations: 0.7224 MB / 1.15 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/1.064, allocations: 224.7 kB / 1.15 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/1.065, allocations: 40.45 kB / 1.15 GB, free: 13.04 MB / 0.8575 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.0007736/1.065, allocations: 361.2 kB / 1.15 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004208/1.066, allocations: 149.5 kB / 1.15 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/1.069, allocations: 1.145 MB / 1.152 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/1.069, allocations: 10.02 kB / 1.152 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.069, allocations: 0 / 1.152 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/1.069, allocations: 3.984 kB / 1.152 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006415/1.075, allocations: 2.515 MB / 1.154 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.075, allocations: 2.312 kB / 1.154 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/1.075, allocations: 85.27 kB / 1.154 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008425/1.076, allocations: 219.3 kB / 1.154 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/1.076, allocations: 18.58 kB / 1.154 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/1.078, allocations: 0.7765 MB / 1.155 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.078, allocations: 2.188 kB / 1.155 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/1.082, allocations: 1.204 MB / 1.156 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.083, allocations: 353.8 kB / 1.157 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002806/1.083, allocations: 13.5 kB / 1.157 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009739/1.084, allocations: 74.41 kB / 1.157 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.084, allocations: 44.75 kB / 1.157 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.108e-05/1.084, allocations: 25.14 kB / 1.157 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002086/1.086, allocations: 1.093 MB / 1.158 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.7e-07/1.086, allocations: 0 / 1.158 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002035/1.088, allocations: 448.8 kB / 1.158 GB, free: 7.617 MB / 0.8575 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.001202/1.09, allocations: 479.5 kB / 1.159 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002658/1.092, allocations: 0.887 MB / 1.16 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.092, allocations: 0 / 1.16 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/1.094, allocations: 434 kB / 1.16 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/1.098, allocations: 0.7447 MB / 1.161 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004481/1.102, allocations: 2.318 MB / 1.163 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008126/1.103, allocations: 1.16 MB / 1.164 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/1.103, allocations: 122.1 kB / 1.164 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of SimCode: time 6.42e-07/1.103, allocations: 3.938 kB / 1.164 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of Templates: time 0.04981/1.153, allocations: 34.08 MB / 1.198 GB, free: 5.773 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches