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.002228/0.002228, allocations: 110.3 kB / 16.41 MB, free: 6.027 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.002212/0.002212, allocations: 186.6 kB / 17.34 MB, free: 5.633 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.486/1.486, allocations: 222.9 MB / 241 MB, free: 15.16 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.427/2.427, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 72.11 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.019, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06961/1.089, allocations: 70.51 MB / 1.236 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02374/1.113, allocations: 18.93 MB / 1.255 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/1.115, allocations: 71.62 kB / 1.255 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002479/1.118, allocations: 0.8385 MB / 1.256 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008145/1.126, allocations: 3.011 MB / 1.258 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004163/1.13, allocations: 1.657 MB / 1.26 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005341/1.136, allocations: 4.054 MB / 1.264 GB, free: 488 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/1.138, allocations: 1.453 MB / 1.265 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004332/1.142, allocations: 1.812 MB / 1.267 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/1.144, allocations: 1.186 MB / 1.268 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000298/1.145, allocations: 176 kB / 1.269 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00304/1.148, allocations: 1.404 MB / 1.27 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000366/1.148, allocations: 394.6 kB / 1.27 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/1.149, allocations: 0.9177 MB / 1.271 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004372/1.153, allocations: 3.106 MB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.153, allocations: 0 / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.813e-06/1.153, allocations: 0 / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.238e-05/1.153, allocations: 0 / 1.274 GB, free: 5.984 MB / 0.9981 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.003667/1.157, allocations: 2.027 MB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.157, allocations: 12.92 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/1.159, allocations: 446.4 kB / 1.277 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/1.162, allocations: 1.555 MB / 1.278 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.003e-05/1.162, allocations: 78.03 kB / 1.278 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/1.162, allocations: 100 kB / 1.278 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/1.164, allocations: 1.323 MB / 1.28 GB, free: 232 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/1.164, allocations: 0 / 1.28 GB, free: 232 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/1.165, allocations: 44 kB / 1.28 GB, free: 188 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/1.165, allocations: 24 kB / 1.28 GB, free: 164 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/1.167, allocations: 1.108 MB / 1.281 GB, free: 15.05 MB / 1.014 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.008067/1.175, allocations: 7.482 MB / 1.288 GB, free: 7.055 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00303/1.178, allocations: 0.8063 MB / 1.289 GB, free: 6.242 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/1.179, allocations: 293.9 kB / 1.289 GB, free: 5.953 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/1.18, allocations: 1.714 MB / 1.291 GB, free: 3.848 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/1.18, allocations: 39 kB / 1.291 GB, free: 3.801 MB / 1.014 GB Notification: Performance of pre-optimization done (n=48): time 4.819e-06/1.18, allocations: 0 / 1.291 GB, free: 3.801 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.004652/1.185, allocations: 1.338 MB / 1.292 GB, free: 2.438 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/1.185, allocations: 59.84 kB / 1.292 GB, free: 2.367 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/1.187, allocations: 1.545 MB / 1.294 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-05/1.187, allocations: 37.7 kB / 1.294 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005795/1.188, allocations: 0.6768 MB / 1.294 GB, free: 88 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/1.188, allocations: 173.8 kB / 1.295 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/1.188, allocations: 178.3 kB / 1.295 GB, free: 15.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.189, allocations: 330 kB / 1.295 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008954/1.189, allocations: 369.8 kB / 1.295 GB, free: 15.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/1.191, allocations: 0.6622 MB / 1.296 GB, free: 14.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/1.192, allocations: 0.8868 MB / 1.297 GB, free: 13.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/1.192, allocations: 7.938 kB / 1.297 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002798/1.195, allocations: 1.186 MB / 1.298 GB, free: 12.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/1.195, allocations: 8 kB / 1.298 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.195, allocations: 8 kB / 1.298 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008795/1.196, allocations: 228.6 kB / 1.298 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007437/1.197, allocations: 187.7 kB / 1.299 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008304/1.198, allocations: 0.7124 MB / 1.299 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/1.199, allocations: 218.6 kB / 1.299 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.196e-05/1.199, allocations: 39.98 kB / 1.299 GB, free: 10.63 MB / 1.029 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.000657/1.2, allocations: 365.6 kB / 1.3 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/1.2, allocations: 142.2 kB / 1.3 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/1.203, allocations: 1.15 MB / 1.301 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/1.203, allocations: 8.094 kB / 1.301 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.203, allocations: 3.938 kB / 1.301 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/1.203, allocations: 7.984 kB / 1.301 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005038/1.208, allocations: 2.51 MB / 1.304 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.208, allocations: 8.031 kB / 1.304 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/1.208, allocations: 83.88 kB / 1.304 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007563/1.209, allocations: 212.6 kB / 1.304 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/1.209, allocations: 16 kB / 1.304 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/1.21, allocations: 0.7747 MB / 1.305 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.21, allocations: 3.938 kB / 1.305 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003263/1.213, allocations: 1.199 MB / 1.306 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007964/1.214, allocations: 354.9 kB / 1.306 GB, free: 3.621 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/1.214, allocations: 12 kB / 1.306 GB, free: 3.609 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008597/1.215, allocations: 75.84 kB / 1.306 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/1.215, allocations: 36.52 kB / 1.306 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/1.216, allocations: 27.98 kB / 1.306 GB, free: 3.469 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001721/1.217, allocations: 1.086 MB / 1.307 GB, free: 2.387 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.217, allocations: 4 kB / 1.307 GB, free: 2.383 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001328/1.219, allocations: 443.4 kB / 1.308 GB, free: 1.949 MB / 1.029 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.0009108/1.22, allocations: 477.5 kB / 1.308 GB, free: 1.484 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002074/1.222, allocations: 0.8446 MB / 1.309 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/1.222, allocations: 96 / 1.309 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/1.223, allocations: 447.5 kB / 1.309 GB, free: 212 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/1.226, allocations: 0.74 MB / 1.31 GB, free: 15.48 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/1.23, allocations: 2.283 MB / 1.312 GB, free: 13.14 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008213/1.231, allocations: 1.157 MB / 1.314 GB, free: 11.96 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/1.231, allocations: 123.4 kB / 1.314 GB, free: 11.84 MB / 1.045 GB Notification: Performance of SimCode: time 1.182e-06/1.231, allocations: 0 / 1.314 GB, free: 11.84 MB / 1.045 GB Notification: Performance of Templates: time 0.05168/1.283, allocations: 34.24 MB / 1.347 GB, free: 9.781 MB / 1.076 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=480 -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