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.001375/0.001376, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001508/0.001508, allocations: 190.7 kB / 16.14 MB, free: 6.629 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.604/1.604, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.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.926/2.926, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 64.14 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8242/0.8262, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07819/0.9045, allocations: 70.1 MB / 1.085 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03054/0.935, allocations: 19.01 MB / 1.104 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/0.9382, allocations: 67.56 kB / 1.104 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002698/0.941, allocations: 0.6566 MB / 1.104 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008772/0.9498, allocations: 2.614 MB / 1.107 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005228/0.9551, allocations: 1.478 MB / 1.108 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007889/0.963, allocations: 5.023 MB / 1.113 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.9656, allocations: 1.183 MB / 1.114 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004117/0.9697, allocations: 1.493 MB / 1.116 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.9724, allocations: 1.159 MB / 1.117 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.9728, allocations: 80 kB / 1.117 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003683/0.9765, allocations: 1.239 MB / 1.118 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004723/0.977, allocations: 298.5 kB / 1.119 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001597/0.9786, allocations: 0.8083 MB / 1.119 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005143/0.9838, allocations: 3.023 MB / 1.122 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.9838, allocations: 3.938 kB / 1.122 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9838, allocations: 4 kB / 1.122 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.865e-05/0.9839, allocations: 4 kB / 1.122 GB, free: 6.18 MB / 0.8731 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.004876/0.9887, allocations: 2.027 MB / 1.124 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.9888, allocations: 12.03 kB / 1.124 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/0.9914, allocations: 442.5 kB / 1.125 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/0.9946, allocations: 1.512 MB / 1.126 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003957/0.995, allocations: 130 kB / 1.126 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.9952, allocations: 104 kB / 1.126 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002986/0.9982, allocations: 1.297 MB / 1.128 GB, free: 464 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.9982, allocations: 7.938 kB / 1.128 GB, free: 456 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.9984, allocations: 44 kB / 1.128 GB, free: 412 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/0.9984, allocations: 28 kB / 1.128 GB, free: 384 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/1.001, allocations: 1.108 MB / 1.129 GB, free: 15.27 MB / 0.8887 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.0108/1.012, allocations: 7.125 MB / 1.136 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/1.015, allocations: 0.8085 MB / 1.137 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006574/1.016, allocations: 282 kB / 1.137 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/1.018, allocations: 1.718 MB / 1.139 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/1.018, allocations: 46.88 kB / 1.139 GB, free: 4.391 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=48): time 2.495e-06/1.018, allocations: 0 / 1.139 GB, free: 4.391 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48): time 0.005215/1.023, allocations: 1.334 MB / 1.14 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/1.023, allocations: 67.78 kB / 1.14 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/1.026, allocations: 1.513 MB / 1.141 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/1.026, allocations: 37.7 kB / 1.141 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007169/1.027, allocations: 0.6653 MB / 1.142 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/1.027, allocations: 169.6 kB / 1.142 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/1.028, allocations: 162.4 kB / 1.142 GB, free: 384 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.028, allocations: 334 kB / 1.143 GB, free: 44 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/1.029, allocations: 361.8 kB / 1.143 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/1.03, allocations: 0.6354 MB / 1.144 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/1.032, allocations: 0.856 MB / 1.145 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/1.032, allocations: 4 kB / 1.145 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004641/1.037, allocations: 1.341 MB / 1.146 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/1.037, allocations: 8 kB / 1.146 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.037, allocations: 8 kB / 1.146 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009653/1.038, allocations: 224.8 kB / 1.146 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008101/1.039, allocations: 179.7 kB / 1.146 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009818/1.04, allocations: 0.7201 MB / 1.147 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/1.041, allocations: 238.7 kB / 1.147 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/1.042, allocations: 39.98 kB / 1.147 GB, free: 11.2 MB / 0.9044 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.000699/1.042, allocations: 353.6 kB / 1.148 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/1.043, allocations: 142.2 kB / 1.148 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/1.045, allocations: 1.142 MB / 1.149 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/1.045, allocations: 11.98 kB / 1.149 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.045, allocations: 7.938 kB / 1.149 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/1.045, allocations: 0 / 1.149 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005735/1.051, allocations: 2.502 MB / 1.151 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/1.051, allocations: 4 kB / 1.151 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/1.051, allocations: 87.81 kB / 1.151 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008386/1.052, allocations: 224.8 kB / 1.152 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/1.052, allocations: 16 kB / 1.152 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/1.054, allocations: 0.7708 MB / 1.152 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.054, allocations: 4.031 kB / 1.152 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003761/1.058, allocations: 1.203 MB / 1.154 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008842/1.059, allocations: 346.9 kB / 1.154 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003917/1.059, allocations: 12 kB / 1.154 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/1.06, allocations: 87.84 kB / 1.154 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/1.06, allocations: 48.44 kB / 1.154 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/1.06, allocations: 27.98 kB / 1.154 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002537/1.063, allocations: 1.07 MB / 1.155 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.3e-07/1.063, allocations: 0 / 1.155 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001894/1.065, allocations: 435.4 kB / 1.156 GB, free: 2.535 MB / 0.9044 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.001128/1.066, allocations: 471.7 kB / 1.156 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002462/1.068, allocations: 0.8405 MB / 1.157 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.068, allocations: 0 / 1.157 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.07, allocations: 443.5 kB / 1.157 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003854/1.074, allocations: 0.6918 MB / 1.158 GB, free: 120 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005787/1.079, allocations: 2.736 MB / 1.161 GB, free: 13.33 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/1.081, allocations: 1.168 MB / 1.162 GB, free: 12.13 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001457/1.082, allocations: 268.8 kB / 1.162 GB, free: 11.87 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/1.083, allocations: 111.4 kB / 1.162 GB, free: 11.76 MB / 0.92 GB Notification: Performance of SimCode: time 1.303e-06/1.083, allocations: 0 / 1.162 GB, free: 11.76 MB / 0.92 GB Notification: Performance of Templates: time 0.05885/1.141, allocations: 30.05 MB / 1.191 GB, free: 14.05 MB / 0.9512 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/jenkins/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