Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001588/0.001588, allocations: 110.6 kB / 16.41 MB, free: 6.477 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.001979/0.001979, allocations: 183 kB / 17.34 MB, free: 5.754 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8487/0.8501, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07616/0.9263, allocations: 70.49 MB / 1.157 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02957/0.9559, allocations: 18.93 MB / 1.176 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/0.9592, allocations: 67.44 kB / 1.176 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003096/0.9623, allocations: 0.8203 MB / 1.177 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009338/0.9717, allocations: 2.855 MB / 1.18 GB, free: 3.086 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004944/0.9767, allocations: 1.654 MB / 1.181 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007757/0.9844, allocations: 4.031 MB / 1.185 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0033/0.9878, allocations: 1.461 MB / 1.187 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00504/0.9929, allocations: 1.811 MB / 1.188 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/0.9956, allocations: 1.177 MB / 1.189 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006109/0.9963, allocations: 175.4 kB / 1.19 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003956/1, allocations: 1.412 MB / 1.191 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006073/1.001, allocations: 395.6 kB / 1.191 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001944/1.003, allocations: 0.9194 MB / 1.192 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006734/1.01, allocations: 3.094 MB / 1.195 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/1.01, allocations: 0 / 1.195 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.803e-06/1.01, allocations: 0 / 1.195 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001067/1.01, allocations: 5.141 kB / 1.195 GB, free: 8.785 MB / 0.9356 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.005988/1.016, allocations: 2.029 MB / 1.197 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.016, allocations: 9.5 kB / 1.197 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/1.019, allocations: 446.8 kB / 1.198 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003495/1.022, allocations: 1.55 MB / 1.199 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/1.022, allocations: 82.47 kB / 1.199 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003029/1.023, allocations: 102.7 kB / 1.199 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/1.026, allocations: 1.315 MB / 1.201 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/1.026, allocations: 5.156 kB / 1.201 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/1.026, allocations: 43.56 kB / 1.201 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/1.026, allocations: 29.56 kB / 1.201 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/1.029, allocations: 1.102 MB / 1.202 GB, free: 4.184 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.01001/1.039, allocations: 7.499 MB / 1.209 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003357/1.042, allocations: 0.8207 MB / 1.21 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/1.043, allocations: 287.8 kB / 1.21 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/1.044, allocations: 1.722 MB / 1.212 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/1.044, allocations: 38.5 kB / 1.212 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 2.614e-06/1.044, allocations: 0 / 1.212 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.005338/1.05, allocations: 1.328 MB / 1.213 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/1.05, allocations: 61.06 kB / 1.213 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/1.053, allocations: 1.549 MB / 1.215 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.911e-05/1.053, allocations: 36.89 kB / 1.215 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006344/1.054, allocations: 0.6729 MB / 1.216 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/1.054, allocations: 172.8 kB / 1.216 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/1.054, allocations: 168.4 kB / 1.216 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.054, allocations: 336.6 kB / 1.216 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/1.055, allocations: 370.8 kB / 1.217 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/1.057, allocations: 0.6596 MB / 1.217 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/1.059, allocations: 0.887 MB / 1.218 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/1.059, allocations: 3.281 kB / 1.218 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003332/1.062, allocations: 1.187 MB / 1.219 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.062, allocations: 12.95 kB / 1.219 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/1.062, allocations: 8.438 kB / 1.219 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009902/1.063, allocations: 225.7 kB / 1.219 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007979/1.064, allocations: 190.4 kB / 1.22 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009178/1.065, allocations: 0.7258 MB / 1.22 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/1.067, allocations: 211.6 kB / 1.221 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/1.067, allocations: 44.27 kB / 1.221 GB, free: 4.801 MB / 0.9512 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.0006837/1.067, allocations: 358.2 kB / 1.221 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/1.068, allocations: 162.7 kB / 1.221 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/1.07, allocations: 1.137 MB / 1.222 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/1.071, allocations: 8 kB / 1.222 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.071, allocations: 4 kB / 1.222 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.071, allocations: 3.984 kB / 1.222 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005978/1.077, allocations: 2.51 MB / 1.225 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.077, allocations: 0 / 1.225 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/1.077, allocations: 87.83 kB / 1.225 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000761/1.078, allocations: 204.7 kB / 1.225 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/1.078, allocations: 23.98 kB / 1.225 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/1.079, allocations: 0.7708 MB / 1.226 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.079, allocations: 0 / 1.226 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/1.083, allocations: 1.203 MB / 1.227 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/1.084, allocations: 346.9 kB / 1.227 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000467/1.084, allocations: 15.92 kB / 1.227 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.085, allocations: 75.92 kB / 1.227 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.085, allocations: 44.5 kB / 1.227 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.985e-05/1.085, allocations: 23.98 kB / 1.227 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001946/1.087, allocations: 1.086 MB / 1.228 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.21e-07/1.087, allocations: 0 / 1.228 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00168/1.089, allocations: 443.4 kB / 1.229 GB, free: 12.66 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.001088/1.09, allocations: 479 kB / 1.229 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002368/1.093, allocations: 0.8525 MB / 1.23 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.093, allocations: 320 / 1.23 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/1.094, allocations: 443.3 kB / 1.231 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003526/1.098, allocations: 0.7304 MB / 1.231 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/1.102, allocations: 2.282 MB / 1.234 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007924/1.103, allocations: 1.157 MB / 1.235 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/1.103, allocations: 123.4 kB / 1.235 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of SimCode: time 7.01e-07/1.103, allocations: 0 / 1.235 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of Templates: time 0.04461/1.148, allocations: 34.23 MB / 1.268 GB, free: 4.523 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches